diff --git a/srcpkgs/hamlib/template b/srcpkgs/hamlib/template index bae0ca46737..f70ea498af0 100644 --- a/srcpkgs/hamlib/template +++ b/srcpkgs/hamlib/template @@ -1,7 +1,7 @@ # Template file for 'hamlib' pkgname=hamlib version=4.5.5 -revision=2 +revision=3 build_style=gnu-configure configure_args="--disable-static --with-perl-binding --with-python-binding --with-tcl-binding --with-xml-support" @@ -19,6 +19,10 @@ checksum=601c89f32ed225e9527ade3d64d0d05d23202c05ae21ffa77e59d70ee4597fcd CFLAGS="-DNO_POSIX_2008_LOCALE -D_GNU_SOURCE" +if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + makedepends+=" libxcrypt-devel" +fi + pre_configure() { export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}" export PYTHON_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${py3_ver}${py3_abiver}"