hamlib: rebuild for python3-3.13

This commit is contained in:
Andrew J. Hesford 2024-11-16 09:29:15 -05:00
parent c1b56326ec
commit 0dd6f20020

View File

@ -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}"