diff options
Diffstat (limited to 'net/xinetd/BUILD')
-rwxr-xr-x | net/xinetd/BUILD | 9 |
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 \ |