From 0dd6f20020b171afcc667d28b80f445b2304ab68 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sat, 16 Nov 2024 09:29:15 -0500 Subject: [PATCH] hamlib: rebuild for python3-3.13 --- srcpkgs/hamlib/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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}"