summaryrefslogtreecommitdiffstats
path: root/net/xinetd/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'net/xinetd/BUILD')
-rwxr-xr-xnet/xinetd/BUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/xinetd/BUILD b/net/xinetd/BUILD
index 87f2e17022..c58882bb99 100755
--- a/net/xinetd/BUILD
+++ b/net/xinetd/BUILD
@@ -1,4 +1,11 @@
-export LIBS=$LDFLAGS && # Makes stripping work
+case "$HOST" in
+ (*-musl)
+ CFLAGS+=" $(pkg-config libtirpc --cflags)" &&
+ LIBS+=" $(pkg-config libtirpc --libs)" &&
+ OPTS+=' xinetd_cv_type_rlim_t=yes'
+esac &&
+LIBS+=" $LDFLAGS" && # Makes stripping work
+export LIBS &&
OPTS="$XINETD_IPV6 \
$XINETD_LOADAVG \