passwdqc: rebuild for libxcrypt

This commit is contained in:
oreo639 2023-08-30 14:16:40 -07:00 committed by classabbyamp
parent 1a9e725e08
commit 6a46ff0819

View file

@ -1,7 +1,7 @@
# Template file for 'passwdqc'
pkgname=passwdqc
version=2.0.3
revision=1
revision=2
build_style=gnu-makefile
make_install_args="SHARED_LIBDIR=/usr/lib SECUREDIR=/usr/lib/security"
conf_files="/etc/passwdqc.conf"
@ -13,6 +13,10 @@ homepage="http://www.openwall.com/passwdqc/"
distfiles="http://www.openwall.com/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=53b0f4bc49369f06195e9e13abb6cff352d5acb79e861004ec95973896488cf4
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
do_build() {
make ${makejobs} CC="$CC" LD="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
$make_install_args