summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-20 19:07:32 +0000
committerMike Frysinger <vapier@gentoo.org>2009-06-20 19:07:32 +0000
commit90eeb49028745e7b25905048737db884992f6da9 (patch)
treec14a26fa7a4d82e8c097d691cf35621ade8d3bc5 /net-nds
parentold (diff)
downloadgentoo-2-90eeb49028745e7b25905048737db884992f6da9.tar.gz
gentoo-2-90eeb49028745e7b25905048737db884992f6da9.tar.bz2
gentoo-2-90eeb49028745e7b25905048737db884992f6da9.zip
Fix stripping, use emake, and allow people to use rpcbind #272549 by Ruediger Kern.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'net-nds')
-rw-r--r--net-nds/ypserv/ChangeLog8
-rw-r--r--net-nds/ypserv/ypserv-2.19.ebuild25
2 files changed, 24 insertions, 9 deletions
diff --git a/net-nds/ypserv/ChangeLog b/net-nds/ypserv/ChangeLog
index 58a3da6f8750..2915a1041f0a 100644
--- a/net-nds/ypserv/ChangeLog
+++ b/net-nds/ypserv/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-nds/ypserv
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ChangeLog,v 1.40 2008/11/02 13:04:04 jmbsvicetto Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ChangeLog,v 1.41 2009/06/20 19:07:32 vapier Exp $
+
+ 20 Jun 2009; Mike Frysinger <vapier@gentoo.org> ypserv-2.19.ebuild:
+ Fix stripping, use emake, and allow people to use rpcbind #272549 by
+ Ruediger Kern.
02 Nov 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
metadata.xml:
diff --git a/net-nds/ypserv/ypserv-2.19.ebuild b/net-nds/ypserv/ypserv-2.19.ebuild
index ee410bce0242..050169e69e04 100644
--- a/net-nds/ypserv/ypserv-2.19.ebuild
+++ b/net-nds/ypserv/ypserv-2.19.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-2.19.ebuild,v 1.8 2008/11/02 12:25:38 jmbsvicetto Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-2.19.ebuild,v 1.9 2009/06/20 19:07:32 vapier Exp $
DESCRIPTION="Network Information Service server"
HOMEPAGE="http://www.linux-nis.org/nis/"
@@ -11,11 +11,22 @@ SLOT="0"
KEYWORDS="amd64 ia64 ppc ppc64 sparc x86"
IUSE="slp"
-RDEPEND=">=sys-libs/gdbm-1.8.0
+DEPEND=">=sys-libs/gdbm-1.8.0
slp? ( net-libs/openslp )"
-DEPEND="${RDEPEND}"
-RDEPEND="${RDEPEND}
- net-nds/portmap"
+RDEPEND="${DEPEND}
+ || ( net-nds/rpcbind net-nds/portmap )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e '/^INSTALL_STRIP_PROGRAM/s:-s::' \
+ configure || die
+ sed -i \
+ -e 's:INSTALL_STRIP_FLAG=-s::' \
+ -e '/^INSTALL_PROGRAM/s:-s::' \
+ Makefile.in */Makefile.in || die
+}
src_compile() {
econf $(use_enable slp)
@@ -23,7 +34,7 @@ src_compile() {
}
src_install() {
- make DESTDIR="${D}" install || die
+ emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
insinto /etc