summaryrefslogtreecommitdiffstats
path: root/tcp_wrappers/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-21 23:47:53 +0100
committerLukc <lukc@upyum.com>2010-12-21 23:47:53 +0100
commitc28245e3dc8bed2fe3cdb744b1feee25a40b1eeb (patch)
tree997053661e23dff3b824ce6fcef611fdcbf0920d /tcp_wrappers/Pkgfile
parentc14034f7cf3ad5151f58647258d93fed89d8d5f8 (diff)
downloadbase-c28245e3dc8bed2fe3cdb744b1feee25a40b1eeb.tar.gz
base-c28245e3dc8bed2fe3cdb744b1feee25a40b1eeb.tar.bz2
base-c28245e3dc8bed2fe3cdb744b1feee25a40b1eeb.tar.xz
base-c28245e3dc8bed2fe3cdb744b1feee25a40b1eeb.zip
Mise a` jour de la recette de tcp_wrappers.
Diffstat (limited to 'tcp_wrappers/Pkgfile')
-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;