diff --git a/srcpkgs/erlang/template b/srcpkgs/erlang/template index bf9be412e67..98c07c22c29 100644 --- a/srcpkgs/erlang/template +++ b/srcpkgs/erlang/template @@ -3,7 +3,7 @@ pkgname=erlang version=21.2.6 revision=1 create_wrksrc=yes -build_wrksrc=otp-OTP-${version} +build_wrksrc="otp-OTP-${version}" build_style=gnu-configure configure_args="$(vopt_if x11 --with-wx-config=wx-config-3.0)" make_install_target="install install-docs" @@ -15,10 +15,14 @@ maintainer="Leah Neukirchen " license="Apache-2.0" homepage="http://www.erlang.org/" distfiles="https://github.com/erlang/otp/archive/OTP-${version}.tar.gz" -checksum="aa0b95031e7c01af8a7042a00974ab16ed8fec305a68d7dbaa4185e5d58ef4d5" +checksum=aa0b95031e7c01af8a7042a00974ab16ed8fec305a68d7dbaa4185e5d58ef4d5 build_options="x11" +case "$XBPS_TARGET_MACHINE" in + x86_64-musl) broken="dlvsym not available" ;; +easc + pre_configure() { ./otp_build autoconf if [ "$CROSS_BUILD" ]; then