tacacs: rebuild for libxcrypt

This commit is contained in:
oreo639 2023-08-30 14:37:35 -07:00 committed by classabbyamp
parent 4c1423477c
commit bfdff4e367
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'tacacs'
pkgname=tacacs
version=4.0.4.28
revision=3
revision=4
build_style=gnu-configure
configure_args="--with-libwrap=no"
hostmakedepends="flex perl"
@ -15,6 +15,10 @@ checksum=147f2dc98d26d2f93f0aba76c988ced196ffe1c001dc2e91f788a1a2c747219e
python_version=3
disable_parallel_build=yes
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
pre_configure() {
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
patch -Np0 -i ${FILESDIR}/no-reap-child-test-no-nsl.patch