summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-09-24 00:11:05 +0000
committerMike Frysinger <vapier@gentoo.org>2004-09-24 00:11:05 +0000
commit07cfb219f5b9bc934fbe17adc823731821dff6cd (patch)
tree568589c34eb30a32b15e4ebe5bc96e92132898c2 /sys-apps/sed
parentdont set EXTRA_ECONF (diff)
downloadhistorical-07cfb219f5b9bc934fbe17adc823731821dff6cd.tar.gz
historical-07cfb219f5b9bc934fbe17adc823731821dff6cd.tar.bz2
historical-07cfb219f5b9bc934fbe17adc823731821dff6cd.zip
dont set EXTRA_ECONF
Diffstat (limited to 'sys-apps/sed')
-rw-r--r--sys-apps/sed/Manifest8
-rw-r--r--sys-apps/sed/sed-4.0.9.ebuild30
2 files changed, 21 insertions, 17 deletions
diff --git a/sys-apps/sed/Manifest b/sys-apps/sed/Manifest
index 81edd54638e3..e826f329d50c 100644
--- a/sys-apps/sed/Manifest
+++ b/sys-apps/sed/Manifest
@@ -4,7 +4,7 @@ Hash: SHA1
MD5 b8b6b7b21fcd4814274b88b7716ee511 ChangeLog 7909
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 ba179be0ae3678922d464a605700cfbb sed-4.1.2.ebuild 1416
-MD5 b4976b3741cd00774a4f470aaa8bdbed sed-4.0.9.ebuild 1397
+MD5 c9c0a5e5d9cd21c99db442a0a89bdc14 sed-4.0.9.ebuild 1411
MD5 da2101c043ce802aabb650bea031a52d files/digest-sed-4.1.2 61
MD5 1f789b81b2d7992345e1490c68ad5477 files/dos2unix 59
MD5 2502535e2cc93fa49d1c2fdc31eff1b2 files/unix2dos 56
@@ -12,7 +12,7 @@ MD5 a244109e1adcbd40a02446fb23df33c1 files/digest-sed-4.0.9 61
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.10 (GNU/Linux)
-iD8DBQFBUPSwHTu7gpaalycRAv3KAJ9c8qQzY/E3tVxW2C0dJ9Ko/qVbwACgk6j0
-cijTmDSTToh591Lprg56DUk=
-=Twg9
+iD8DBQFBU2YmHTu7gpaalycRApOeAJ9QBsdpIwn5Kib++iVTOoWEFHkovwCg+yWn
+ix4b9z3UorzYhdcpAWeIFq0=
+=H8oW
-----END PGP SIGNATURE-----
diff --git a/sys-apps/sed/sed-4.0.9.ebuild b/sys-apps/sed/sed-4.0.9.ebuild
index 551ae3d0d30f..63ea0839f031 100644
--- a/sys-apps/sed/sed-4.0.9.ebuild
+++ b/sys-apps/sed/sed-4.0.9.ebuild
@@ -1,8 +1,8 @@
# 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.21 2004/09/22 03:23:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.0.9.ebuild,v 1.22 2004/09/24 00:11:05 vapier Exp $
-inherit gnuconfig
+inherit gnuconfig flag-o-matic
DESCRIPTION="Super-useful stream editor"
HOMEPAGE="http://www.gnu.org/software/sed/sed.html"
@@ -17,24 +17,27 @@ RDEPEND="virtual/libc"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
-src_compile() {
- # Needed for mips and probably others
+src_unpack() {
+ unpack ${A}
+ cd ${S}
gnuconfig_update
+}
+src_compile() {
+ local myconf=""
if use macos || use ppc-macos ; then
- EXTRA_ECONF="--program-prefix=g"
- fi
- econf $(use_enable nls) || die "Configure failed"
- if use static ; then
- emake LDFLAGS=-static || die "Static build failed"
- else
- emake || die "Shared build failed"
+ myconf="--program-prefix=g"
fi
+ econf \
+ $(use_enable nls) \
+ ${myconf} \
+ || die "Configure failed"
+
+ use static && append-ldflags -static
+ emake LDFLAGS="${LDFLAGS}" || die "build failed"
}
src_install() {
- local x
-
into /
dobin sed/sed
if ! use build
@@ -50,6 +53,7 @@ src_install() {
rm -f "${D}/usr/bin/sed"
if use macos || use ppc-macos ; then
cd "${D}"
+ local x
for x in $(find . -name 'sed*' -print);
do
mv "$x" "${x//sed/gsed}"