summaryrefslogtreecommitdiffstats
path: root/base/whois/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-10-19 22:57:53 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-10-19 22:57:53 +0200
commit6a6f9803440154b291e4fbf312ee3f3cf9c3d929 (patch)
tree51480011299b1d9d974fa671eb7b6404cdfc8a99 /base/whois/Pkgfile
parentfc4fc1aaba18267786964198a213a2781648a92f (diff)
downloadnutyx-pakxe-6a6f9803440154b291e4fbf312ee3f3cf9c3d929.tar.gz
nutyx-pakxe-6a6f9803440154b291e4fbf312ee3f3cf9c3d929.tar.bz2
nutyx-pakxe-6a6f9803440154b291e4fbf312ee3f3cf9c3d929.tar.xz
nutyx-pakxe-6a6f9803440154b291e4fbf312ee3f3cf9c3d929.zip
whois, ajustement pour la 64bits
Diffstat (limited to 'base/whois/Pkgfile')
-rw-r--r--base/whois/Pkgfile10
1 files changed, 6 insertions, 4 deletions
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
+
}