diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-04-17 00:29:06 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-04-17 00:29:06 +0000 |
commit | 86f6f256241fc83c07a77de25873c6335ddb8524 (patch) | |
tree | ecd6256543d1e42771e593c3736ca72f8b607592 /sys-apps/ed | |
parent | Make an addon for mdev startup. (diff) | |
download | gentoo-2-86f6f256241fc83c07a77de25873c6335ddb8524.tar.gz gentoo-2-86f6f256241fc83c07a77de25873c6335ddb8524.tar.bz2 gentoo-2-86f6f256241fc83c07a77de25873c6335ddb8524.zip |
Version bump #174741 by Ryan Hill.
(Portage version: 2.1.2.3)
Diffstat (limited to 'sys-apps/ed')
-rw-r--r-- | sys-apps/ed/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/ed/ed-0.5.ebuild | 40 | ||||
-rw-r--r-- | sys-apps/ed/files/digest-ed-0.5 | 3 | ||||
-rw-r--r-- | sys-apps/ed/files/ed-0.5-build.patch | 68 |
4 files changed, 118 insertions, 1 deletions
diff --git a/sys-apps/ed/ChangeLog b/sys-apps/ed/ChangeLog index 8cd1245e169e..753d71cf18af 100644 --- a/sys-apps/ed/ChangeLog +++ b/sys-apps/ed/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/ed # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ed/ChangeLog,v 1.35 2007/04/16 08:00:54 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ed/ChangeLog,v 1.36 2007/04/17 00:29:06 vapier Exp $ + +*ed-0.5 (17 Apr 2007) + + 17 Apr 2007; Mike Frysinger <vapier@gentoo.org> +files/ed-0.5-build.patch, + +ed-0.5.ebuild: + Version bump #174741 by Ryan Hill. 16 Apr 2007; Markus Rothe <corsair@gentoo.org> ed-0.4.ebuild: Stable on ppc64 diff --git a/sys-apps/ed/ed-0.5.ebuild b/sys-apps/ed/ed-0.5.ebuild new file mode 100644 index 000000000000..f8810e4508cb --- /dev/null +++ b/sys-apps/ed/ed-0.5.ebuild @@ -0,0 +1,40 @@ +# 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.5.ebuild,v 1.1 2007/04/17 00:29:06 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}"/${P}-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/digest-ed-0.5 b/sys-apps/ed/files/digest-ed-0.5 new file mode 100644 index 000000000000..cea639213cc0 --- /dev/null +++ b/sys-apps/ed/files/digest-ed-0.5 @@ -0,0 +1,3 @@ +MD5 4ee21e9dcc9b5b6012c23038734e1632 ed-0.5.tar.bz2 54220 +RMD160 5faad03c8cc2faf799b2ad6312bb71c94f3ecd8f ed-0.5.tar.bz2 54220 +SHA256 edef2bbde0fbf0d88232782a0eded323f483a0519d6fde9a3b1809056fd35f3e ed-0.5.tar.bz2 54220 diff --git a/sys-apps/ed/files/ed-0.5-build.patch b/sys-apps/ed/files/ed-0.5-build.patch new file mode 100644 index 000000000000..c7d6ee5c2c9f --- /dev/null +++ b/sys-apps/ed/files/ed-0.5-build.patch @@ -0,0 +1,68 @@ +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 |