summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLina Pezzella <j4rg0n@gentoo.org>2004-08-05 18:40:55 +0000
committerLina Pezzella <j4rg0n@gentoo.org>2004-08-05 18:40:55 +0000
commit2ce58381a543126657df55eb831e8e99c3e78b3c (patch)
tree172c1de9f5f4577f8b960d79e5ec5bdd0bfbc26e /sys-apps
parentMarked ~amd64 (Manifest recommit) (diff)
downloadgentoo-2-2ce58381a543126657df55eb831e8e99c3e78b3c.tar.gz
gentoo-2-2ce58381a543126657df55eb831e8e99c3e78b3c.tar.bz2
gentoo-2-2ce58381a543126657df55eb831e8e99c3e78b3c.zip
Added changes for macos gsed. Stable macos.
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/sed/ChangeLog5
-rw-r--r--sys-apps/sed/sed-4.0.9.ebuild8
2 files changed, 9 insertions, 4 deletions
diff --git a/sys-apps/sed/ChangeLog b/sys-apps/sed/ChangeLog
index eda2abf7036b..589c0f2fbb1e 100644
--- a/sys-apps/sed/ChangeLog
+++ b/sys-apps/sed/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/sed
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/ChangeLog,v 1.53 2004/07/03 22:20:41 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/ChangeLog,v 1.54 2004/08/05 18:40:55 j4rg0n Exp $
+
+ 05 Aug 2004; Lina Pezzella <j4rg0n@gentoo.org> sed-4.0.9.ebuild:
+ Added changes for macos gsed. Stable macos.
03 Jul 2004; Guy Martin <gmsoft@gentoo.org> sed-4.0.9.ebuild:
Marked stable on hppa.
diff --git a/sys-apps/sed/sed-4.0.9.ebuild b/sys-apps/sed/sed-4.0.9.ebuild
index ac10733cce3a..064b5b4c17d6 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.14 2004/07/03 22:20:41 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.0.9.ebuild,v 1.15 2004/08/05 18:40:55 j4rg0n 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"
+KEYWORDS="x86 ~ppc ~ppc64 sparc mips alpha arm hppa amd64 ia64 s390 macos"
IUSE="nls static build"
DEPEND="virtual/libc
@@ -20,6 +20,7 @@ src_compile() {
# Needed for mips and probably others
gnuconfig_update
+ use macos && EXTRA_ECONF="--program-prefix=g"
econf `use_enable nls` || die "Configure failed"
if use static ; then
emake LDFLAGS=-static || die "Static build failed"
@@ -42,5 +43,6 @@ src_install() {
fi
rm -f ${D}/usr/bin/sed
- dosym ../../bin/sed /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
}