summaryrefslogtreecommitdiffstats
path: root/tcp_wrappers
diff options
context:
space:
mode:
Diffstat (limited to 'tcp_wrappers')
-rw-r--r--tcp_wrappers/Pkgfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcp_wrappers/Pkgfile b/tcp_wrappers/Pkgfile
index 0803887..2bebfa2 100644
--- a/tcp_wrappers/Pkgfile
+++ b/tcp_wrappers/Pkgfile
@@ -27,10 +27,10 @@ build ()
patch -p1 -i $SRC/$version/tcp-wrappers-$version-shared.patch;
patch -p2 -i $SRC/$version/tcp-wrappers-$version-ipv6-1.14.diff;
export GENTOO_OPT="-DHAVE_WEAKSYMS -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len";
- export RANLIB=ranlib;
+ export RANLIB=${CTARGET:+$CTARGET-}ranlib;
export MAJOR=0 MINOR=${version:0:1} REL=${version:2:3};
make config-check;
- make linux;
+ make ${CTARGET:+CC=$CTARGET-gcc} linux;
install -d $PKG/{etc,usr/{sbin,lib,include,},$mandir/{man3,man5,man8}};
install -m 0755 safe_finger tcpd tcpdchk tcpdmatch try-from $PKG/usr/sbin;
install -m 0644 tcpd.h $PKG/usr/include;