summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter van den Abeele <pvdabeel@gentoo.org>2004-09-16 02:24:05 +0000
committerPieter van den Abeele <pvdabeel@gentoo.org>2004-09-16 02:24:05 +0000
commit620853e8aa3fcb3d25a06f692b9d5683d2736de6 (patch)
treea67670019cf1b1e1a699ae70b1e4d53613933c38 /sys-apps/sed
parentppc-macos keywording (diff)
downloadhistorical-620853e8aa3fcb3d25a06f692b9d5683d2736de6.tar.gz
historical-620853e8aa3fcb3d25a06f692b9d5683d2736de6.tar.bz2
historical-620853e8aa3fcb3d25a06f692b9d5683d2736de6.zip
ppc-macos keywording
Diffstat (limited to 'sys-apps/sed')
-rw-r--r--sys-apps/sed/sed-4.0.9.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys-apps/sed/sed-4.0.9.ebuild b/sys-apps/sed/sed-4.0.9.ebuild
index 00cdc988f08b..db8c2d53ce8a 100644
--- a/sys-apps/sed/sed-4.0.9.ebuild
+++ b/sys-apps/sed/sed-4.0.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.0.9.ebuild,v 1.17 2004/09/03 21:03:24 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.0.9.ebuild,v 1.18 2004/09/16 02:23:44 pvdabeel Exp $
inherit gnuconfig
@@ -10,7 +10,7 @@ SRC_URI="mirror://gnu/sed/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ppc ~ppc64 sparc mips alpha arm hppa amd64 ia64 s390 macos"
+KEYWORDS="x86 ppc ~ppc64 sparc mips alpha arm hppa amd64 ia64 s390 macos ppc-macos"
IUSE="nls static build"
RDEPEND="virtual/libc"
@@ -22,6 +22,7 @@ src_compile() {
gnuconfig_update
use macos && EXTRA_ECONF="--program-prefix=g"
+ use ppc-macos && EXTRA_ECONF="--program-prefix=g"
econf `use_enable nls` || die "Configure failed"
if use static ; then
emake LDFLAGS=-static || die "Static build failed"
@@ -46,4 +47,6 @@ src_install() {
rm -f ${D}/usr/bin/sed
use macos && cd ${D} && for x in `find . -name 'sed*' -print`; do mv "$x" "${x//sed/gsed}"; done && cd ${WORKDIR}/${P}
use macos && dosym ../../bin/gsed /usr/bin/gsed || dosym ../../bin/sed /usr/bin/sed
+ use ppc-macos && cd ${D} && for x in `find . -name 'sed*' -print`; do mv "$x" "${x//sed/gsed}"; done && cd ${WORKDIR}/${P}
+ use ppc-macos && dosym ../../bin/gsed /usr/bin/gsed || dosym ../../bin/sed /usr/bin/sed
}