mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
xinetd: use libtirpc
This commit is contained in:
parent
f71c3b8e8e
commit
ffe7a01640
1 changed files with 9 additions and 6 deletions
|
@ -1,9 +1,10 @@
|
||||||
# Template file for 'xinetd'
|
# Template file for 'xinetd'
|
||||||
pkgname=xinetd
|
pkgname=xinetd
|
||||||
version=2.3.15
|
version=2.3.15
|
||||||
revision=7
|
revision=8
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--without-libwrap"
|
configure_args="--without-libwrap"
|
||||||
|
makedepends="libtirpc-devel"
|
||||||
short_desc="A secure replacement for inetd"
|
short_desc="A secure replacement for inetd"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="xinetd"
|
license="xinetd"
|
||||||
|
@ -13,11 +14,13 @@ checksum=bf4e060411c75605e4dcbdf2ac57c6bd9e1904470a2f91e01ba31b50a80a5be3
|
||||||
|
|
||||||
conf_files="/etc/xinetd.conf /etc/xinetd.d/servers /etc/xinetd.d/services"
|
conf_files="/etc/xinetd.conf /etc/xinetd.d/servers /etc/xinetd.d/services"
|
||||||
|
|
||||||
pre_configure() {
|
CFLAGS=" -I${XBPS_CROSS_BASE}/usr/include/tirpc"
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
LDFLAGS=" -ltirpc"
|
||||||
*-musl) export CFLAGS+=" -DNO_RPC"; configure_args+=" xinetd_cv_type_rlim_t=yes";;
|
|
||||||
esac
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
}
|
configure_args+=" xinetd_cv_type_rlim_t=yes"
|
||||||
|
fi
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make prefix=${DESTDIR}/usr DAEMONDIR=${DESTDIR}/usr/bin MANDIR=${DESTDIR}/usr/share/man install
|
make prefix=${DESTDIR}/usr DAEMONDIR=${DESTDIR}/usr/bin MANDIR=${DESTDIR}/usr/share/man install
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue