From c28245e3dc8bed2fe3cdb744b1feee25a40b1eeb Mon Sep 17 00:00:00 2001 From: Lukc Date: Tue, 21 Dec 2010 23:47:53 +0100 Subject: Mise a` jour de la recette de tcp_wrappers. --- tcp_wrappers/Pkgfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tcp_wrappers/Pkgfile') 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; -- cgit v1.2.3-70-g09d2