summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-08-26 10:44:41 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-08-26 10:44:41 +0000
commitfb6f5e34ab70b36540d01ee7caaf66da81c42b99 (patch)
tree993d0cd41991554ea85dfa67f328fdfef82147a4 /net-misc/whois/whois-4.7.2.ebuild
parentPruned old versions. (diff)
downloadgentoo-2-fb6f5e34ab70b36540d01ee7caaf66da81c42b99.tar.gz
gentoo-2-fb6f5e34ab70b36540d01ee7caaf66da81c42b99.tar.bz2
gentoo-2-fb6f5e34ab70b36540d01ee7caaf66da81c42b99.zip
Make whois install as gwhois while out of GNU userland. Also let the makefile use the right CC compiler.
(Portage version: 2.0.51.22)
Diffstat (limited to 'net-misc/whois/whois-4.7.2.ebuild')
-rw-r--r--net-misc/whois/whois-4.7.2.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/net-misc/whois/whois-4.7.2.ebuild b/net-misc/whois/whois-4.7.2.ebuild
index bdecb891df42..294219ff505e 100644
--- a/net-misc/whois/whois-4.7.2.ebuild
+++ b/net-misc/whois/whois-4.7.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-4.7.2.ebuild,v 1.2 2005/06/23 01:48:19 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-4.7.2.ebuild,v 1.3 2005/08/26 10:44:41 flameeyes Exp $
-inherit eutils
+inherit eutils toolchain-funcs
MY_P=${P/-/_}
DESCRIPTION="improved Whois Client"
@@ -35,6 +35,7 @@ src_unpack() {
}
src_compile() {
+ tc-export CC
emake OPTS="${CFLAGS}" HAVE_LIBIDN=1 || die
}
@@ -44,4 +45,9 @@ src_install() {
insinto /etc
doins whois.conf
dodoc README
+
+ if [[ "${USERLAND}" != "GNU" ]]; then
+ mv ${D}/usr/share/man/man1/{whois,gwhois}.1
+ mv ${D}/usr/bin/{whois,gwhois}
+ fi
}