summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-05-12 20:41:24 +0000
committerRoy Marples <uberlord@gentoo.org>2007-05-12 20:41:24 +0000
commitd6f8d00807bd47d60ab9475acd2f93926e345a61 (patch)
treef6dd9f72c44828d969e0bab1e2d39b253edfa370 /net-nds/portmap/portmap-6.0.ebuild
parentStable on mips, per #177316. (diff)
downloadgentoo-2-d6f8d00807bd47d60ab9475acd2f93926e345a61.tar.gz
gentoo-2-d6f8d00807bd47d60ab9475acd2f93926e345a61.tar.bz2
gentoo-2-d6f8d00807bd47d60ab9475acd2f93926e345a61.zip
Enable compile without tcp-wrappers, #178242.
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-nds/portmap/portmap-6.0.ebuild')
-rw-r--r--net-nds/portmap/portmap-6.0.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-nds/portmap/portmap-6.0.ebuild b/net-nds/portmap/portmap-6.0.ebuild
index ad3435b04cca..d85311039b18 100644
--- a/net-nds/portmap/portmap-6.0.ebuild
+++ b/net-nds/portmap/portmap-6.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/portmap/portmap-6.0.ebuild,v 1.1 2007/05/12 10:57:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/portmap/portmap-6.0.ebuild,v 1.2 2007/05/12 20:41:24 uberlord Exp $
inherit eutils toolchain-funcs
@@ -23,6 +23,12 @@ pkg_setup() {
enewuser rpc 111 -1 /dev/null rpc
}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-tcpd.patch"
+}
+
src_compile() {
tc-export CC
emake NO_TCP_WRAPPER="$(use tcpd || echo NO)" || die