From 6a6f9803440154b291e4fbf312ee3f3cf9c3d929 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Mon, 19 Oct 2009 22:57:53 +0200 Subject: whois, ajustement pour la 64bits --- base/whois/Pkgfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'base/whois/Pkgfile') diff --git a/base/whois/Pkgfile b/base/whois/Pkgfile index f9b1625f3..8c3f6f038 100644 --- a/base/whois/Pkgfile +++ b/base/whois/Pkgfile @@ -12,8 +12,10 @@ source=( ftp://ftp.debian.org/debian/pool/main/w/$name/$name\_$version.tar.gz) build() { cd $name-$version - sed -i 's/install:/install-pos:/' po/Makefile - make - install -D -m 755 whois $PKG/usr/bin/whois - install -D -m 644 whois.1 $PKG/usr/share/man/man1/whois.1 + if [ "`uname -m`" == "x86_64" ]; then + sed -i "/_GNU_SOURCE/d" whois.c + fi + make prefix=/usr + make prefix=/usr BASEDIR=$PKG install-whois + } -- cgit v1.2.3-70-g09d2