summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-07-07 04:49:49 +0000
committerMike Frysinger <vapier@gentoo.org>2007-07-07 04:49:49 +0000
commit2219826ea7f76d645f0869ae2139dc8a57fbd980 (patch)
treebf3983b240dbda62bd82cd5f7df342da45967747 /sys-apps
parentuse emake in src_install (diff)
downloadgentoo-2-2219826ea7f76d645f0869ae2139dc8a57fbd980.tar.gz
gentoo-2-2219826ea7f76d645f0869ae2139dc8a57fbd980.tar.bz2
gentoo-2-2219826ea7f76d645f0869ae2139dc8a57fbd980.zip
old
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/sed/files/digest-sed-4.1.4-r13
-rw-r--r--sys-apps/sed/files/sed-4.1.4-fix-invalid-ref-error.patch21
-rw-r--r--sys-apps/sed/sed-4.1.4-r1.ebuild73
3 files changed, 0 insertions, 97 deletions
diff --git a/sys-apps/sed/files/digest-sed-4.1.4-r1 b/sys-apps/sed/files/digest-sed-4.1.4-r1
deleted file mode 100644
index 84e0a9892259..000000000000
--- a/sys-apps/sed/files/digest-sed-4.1.4-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 2a62ceadcb571d2dac006f81df5ddb48 sed-4.1.4.tar.gz 794257
-RMD160 6d09ed936d0edbb0a42cb4a18359045fe11eb065 sed-4.1.4.tar.gz 794257
-SHA256 0e0b9cb024362fff707566ae684d70b664178b583c26e0d4adcdc1a2be102393 sed-4.1.4.tar.gz 794257
diff --git a/sys-apps/sed/files/sed-4.1.4-fix-invalid-ref-error.patch b/sys-apps/sed/files/sed-4.1.4-fix-invalid-ref-error.patch
deleted file mode 100644
index 3605e0bb0ded..000000000000
--- a/sys-apps/sed/files/sed-4.1.4-fix-invalid-ref-error.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Grab fix from upstream for incorrect error msg display.
-
-http://bugs.gentoo.org/96009
-
-Index: regexp.c
-===================================================================
-RCS file: /cvsroot/sed/sed/sed/regexp.c,v
-retrieving revision 1.3
-retrieving revision 1.4
-diff -u -r1.3 -r1.4
---- sed/regexp.c 27 Jan 2005 08:04:30 -0000 1.3
-+++ sed/regexp.c 10 Feb 2005 09:54:50 -0000 1.4
-@@ -113,7 +113,7 @@
- {
- char buf[200];
- sprintf(buf, _("invalid reference \\%d on `s' command's RHS"),
-- needed_sub);
-+ needed_sub - 1);
- bad_prog(buf);
- }
- }
diff --git a/sys-apps/sed/sed-4.1.4-r1.ebuild b/sys-apps/sed/sed-4.1.4-r1.ebuild
deleted file mode 100644
index 28e3c7d0276c..000000000000
--- a/sys-apps/sed/sed-4.1.4-r1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.1.4-r1.ebuild,v 1.4 2007/02/28 22:22:04 genstef Exp $
-
-inherit flag-o-matic
-
-DESCRIPTION="Super-useful stream editor"
-HOMEPAGE="http://sed.sourceforge.net/"
-SRC_URI="mirror://gnu/sed/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="nls static build bootstrap"
-
-RDEPEND="nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )"
-
-src_bootstrap_sed() {
- # make sure system-sed works #40786
- export NO_SYS_SED=""
- if ! use bootstrap && ! use build ; then
- if ! type -p sed ; then
- NO_SYS_SED="!!!"
- ./bootstrap.sh || die "couldnt bootstrap"
- cp sed/sed ${T}/ || die "couldnt copy"
- export PATH="${PATH}:${T}"
- fi
- fi
-}
-src_bootstrap_cleanup() {
- if [[ -n ${NO_SYS_SED} ]] ; then
- make clean || die "couldnt clean"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-makeinfo-c-locale.patch
- epatch "${FILESDIR}"/${P}-fix-invalid-ref-error.patch
- sed -i \
- -e "/docdir =/s:/doc:/doc/${PF}/html:" \
- doc/Makefile.in || die "sed html doc"
-}
-
-src_compile() {
- src_bootstrap_sed
-
- local myconf=""
- if ! use userland_GNU ; then
- myconf="--program-prefix=g"
- fi
- econf \
- --bindir=/bin \
- $(use_enable nls) \
- ${myconf} \
- || die "Configure failed"
-
- src_bootstrap_cleanup
- use static && append-ldflags -static
- emake LDFLAGS="${LDFLAGS}" || die "build failed"
-}
-
-src_install() {
- make install DESTDIR="${D}" || die "Install failed"
- dodoc NEWS README* THANKS AUTHORS BUGS ChangeLog
- docinto examples
- dodoc "${FILESDIR}"/{dos2unix,unix2dos}
-
- rm -f "${D}"/usr/lib/charset.alias "${D}"/usr/share/locale/locale.alias
-}