opensmtpd: rebuild for libxcrypt
This commit is contained in:
parent
473464fd8a
commit
3feb99cff5
1 changed files with 5 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue