diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-12-31 09:16:33 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-12-31 09:16:33 +0000 |
commit | 476ebb9dd309647e0886dd42a96066bfde3c7574 (patch) | |
tree | c257fb08a2ab60fdee8d70676761e1b99b092e7f /sys-apps/ed | |
parent | Fix typo (diff) | |
download | historical-476ebb9dd309647e0886dd42a96066bfde3c7574.tar.gz historical-476ebb9dd309647e0886dd42a96066bfde3c7574.tar.bz2 historical-476ebb9dd309647e0886dd42a96066bfde3c7574.zip |
old
Diffstat (limited to 'sys-apps/ed')
-rw-r--r-- | sys-apps/ed/ed-0.8.ebuild | 40 | ||||
-rw-r--r-- | sys-apps/ed/ed-0.9.ebuild | 40 | ||||
-rw-r--r-- | sys-apps/ed/files/ed-0.5-build.patch | 68 |
3 files changed, 0 insertions, 148 deletions
diff --git a/sys-apps/ed/ed-0.8.ebuild b/sys-apps/ed/ed-0.8.ebuild deleted file mode 100644 index 37f3af8a4e6d..000000000000 --- a/sys-apps/ed/ed-0.8.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ed/ed-0.8.ebuild,v 1.9 2007/12/11 10:19:02 vapier Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="Your basic line editor" -HOMEPAGE="http://www.gnu.org/software/ed/" -SRC_URI="mirror://gnu/ed/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" -IUSE="" - -DEPEND="sys-apps/texinfo" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-0.5-build.patch -} - -src_compile() { - tc-export CC CXX - # custom configure script ... econf wont work - ./configure \ - --prefix=/ \ - --datadir=/usr/share \ - ${EXTRA_ECONF} \ - || die - emake || die -} - -src_install() { - emake install DESTDIR="${D}" || die - doman doc/ed.1 - dosym ed.1 /usr/share/man/man1/red.1 - dodoc AUTHORS ChangeLog NEWS README TODO -} diff --git a/sys-apps/ed/ed-0.9.ebuild b/sys-apps/ed/ed-0.9.ebuild deleted file mode 100644 index f6a74efe80c7..000000000000 --- a/sys-apps/ed/ed-0.9.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ed/ed-0.9.ebuild,v 1.5 2008/06/22 15:27:44 vapier Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="Your basic line editor" -HOMEPAGE="http://www.gnu.org/software/ed/" -SRC_URI="mirror://gnu/ed/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm ~hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" -IUSE="" - -DEPEND="sys-apps/texinfo" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-0.5-build.patch -} - -src_compile() { - tc-export CC CXX - # custom configure script ... econf wont work - ./configure \ - --prefix=/ \ - --datadir=/usr/share \ - ${EXTRA_ECONF} \ - || die - emake || die -} - -src_install() { - emake install DESTDIR="${D}" || die - doman doc/ed.1 - dosym ed.1 /usr/share/man/man1/red.1 - dodoc AUTHORS ChangeLog NEWS README TODO -} diff --git a/sys-apps/ed/files/ed-0.5-build.patch b/sys-apps/ed/files/ed-0.5-build.patch deleted file mode 100644 index c7d6ee5c2c9f..000000000000 --- a/sys-apps/ed/files/ed-0.5-build.patch +++ /dev/null @@ -1,68 +0,0 @@ -2007-04-16 Mike Frysinger <vapier@gentoo.org> - - * Clean locale vars from environment to maintain a sane state. - * Do not set CC/CXX/CPPFLAGS/LDFLAGS to "" so that user can - override if they so choose. - * Only set CFLAGS/CXXFLAGS if user did not specify any. - ---- ed/configure -+++ ed/configure -@@ -14,6 +14,19 @@ - progversion=0.5 - srctrigger=ed.h - -+# NLS nuisances. -+for as_var in \ -+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ -+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ -+ LC_TELEPHONE LC_TIME -+do -+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then -+ eval $as_var=C; export $as_var -+ else -+ unset $as_var -+ fi -+done -+ - # clear some things potentially inherited from environment. - srcdir= - prefix=/usr/local -@@ -23,12 +36,6 @@ - infodir='$(datadir)/info' - mandir='$(datadir)/man' - sysconfdir='$(prefix)/etc' --CC= --CXX= --CPPFLAGS= --CFLAGS='-Wall -W -O2' --CXXFLAGS='-Wall -W -O2' --LDFLAGS= - - # Loop over all args - while [ x"$1" != x ] ; do -@@ -102,6 +109,14 @@ - esac - done - -+# Defaults if the user did not select any -+if [ x"${CFLAGS}" = x ] ; then -+ CFLAGS='-Wall -W -O2' -+fi -+if [ x"${CXXFLAGS}" = x ] ; then -+ CXXFLAGS='-Wall -W -O2' -+fi -+ - # Find the source files, if location was not specified. - srcdirtext= - if [ x"${srcdir}" = x ] ; then ---- ed/Makefile.in -+++ ed/Makefile.in -@@ -48,7 +48,7 @@ - if test ! -d $(DESTDIR)$(bindir) ; then $(INSTALL) -d $(DESTDIR)$(bindir) ; fi - $(INSTALL_PROGRAM) ./$(progname) $(DESTDIR)$(bindir)/$(progname) - -rm -f $(DESTDIR)$(bindir)/r$(progname) -- cd $(DESTDIR)$(bindir) ; ln $(progname) r$(progname) -+ cd $(DESTDIR)$(bindir) ; ln -s $(progname) r$(progname) - - install-info : - if test ! -d $(DESTDIR)$(infodir) ; then $(INSTALL) -d $(DESTDIR)$(infodir) ; fi |