opensmtpd: rebuild for libxcrypt

This commit is contained in:
oreo639 2023-08-30 14:08:29 -07:00 committed by classabbyamp
parent 473464fd8a
commit 3feb99cff5

View file

@ -1,7 +1,7 @@
# Template file for 'opensmtpd'
pkgname=opensmtpd
version=7.4.0p1
revision=1
revision=2
build_style=gnu-configure
configure_args="--sysconfdir=/etc/smtpd --sbindir=/usr/bin
--with-path-socket=/run --with-path-pidfile=/run
@ -29,6 +29,10 @@ system_accounts="_smtpd _smtpq"
CFLAGS=-D_DEFAULT_SOURCE
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
case "$XBPS_TARGET_MACHINE" in
*-musl)
configure_args+=" --with-libfts=${XBPS_CROSS_BASE}/usr"