mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
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'
|
# Template file for 'opensmtpd'
|
||||||
pkgname=opensmtpd
|
pkgname=opensmtpd
|
||||||
version=7.4.0p1
|
version=7.4.0p1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--sysconfdir=/etc/smtpd --sbindir=/usr/bin
|
configure_args="--sysconfdir=/etc/smtpd --sbindir=/usr/bin
|
||||||
--with-path-socket=/run --with-path-pidfile=/run
|
--with-path-socket=/run --with-path-pidfile=/run
|
||||||
|
@ -29,6 +29,10 @@ system_accounts="_smtpd _smtpq"
|
||||||
|
|
||||||
CFLAGS=-D_DEFAULT_SOURCE
|
CFLAGS=-D_DEFAULT_SOURCE
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
||||||
|
makedepends+=" libxcrypt-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl)
|
*-musl)
|
||||||
configure_args+=" --with-libfts=${XBPS_CROSS_BASE}/usr"
|
configure_args+=" --with-libfts=${XBPS_CROSS_BASE}/usr"
|
||||||
|
|
Loading…
Add table
Reference in a new issue