diff options
author | Michael Sterrett <msterret@gentoo.org> | 2003-05-14 02:24:33 +0000 |
---|---|---|
committer | Michael Sterrett <msterret@gentoo.org> | 2003-05-14 02:24:33 +0000 |
commit | 7ca1b836ba2ca104f106d2266230aa3e0c2287aa (patch) | |
tree | 5caa5d1763f687ff1680f6200bc8edee3d887de5 | |
parent | bumped version to 4.0s final (diff) | |
download | gentoo-2-7ca1b836ba2ca104f106d2266230aa3e0c2287aa.tar.gz gentoo-2-7ca1b836ba2ca104f106d2266230aa3e0c2287aa.tar.bz2 gentoo-2-7ca1b836ba2ca104f106d2266230aa3e0c2287aa.zip |
New ebuild for patch that uses || die instead of try.
-rw-r--r-- | sys-devel/patch/ChangeLog | 7 | ||||
-rw-r--r-- | sys-devel/patch/files/digest-patch-2.5.4-r5 | 1 | ||||
-rw-r--r-- | sys-devel/patch/patch-2.5.4-r5.ebuild | 36 |
3 files changed, 43 insertions, 1 deletions
diff --git a/sys-devel/patch/ChangeLog b/sys-devel/patch/ChangeLog index 5b188f50d7e6..1da5c4a7264d 100644 --- a/sys-devel/patch/ChangeLog +++ b/sys-devel/patch/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-devel/patch # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/patch/ChangeLog,v 1.8 2003/02/19 21:46:47 zwelch Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/patch/ChangeLog,v 1.9 2003/05/14 02:24:33 msterret Exp $ + +*patch-2.5.4-r5 (01 May 2003) + + 01 May 2003; <msterret@gentoo.org> patch-2.5.4-r5.ebuild: + new patch ebuild that doesn't use try, but uses || die instead 18 Feb 2003; Zach Welch <zwelch@gentoo.org> patch-2.5.4-r4.ebuild : Added hppa to keywords. diff --git a/sys-devel/patch/files/digest-patch-2.5.4-r5 b/sys-devel/patch/files/digest-patch-2.5.4-r5 new file mode 100644 index 000000000000..65e848fff1e9 --- /dev/null +++ b/sys-devel/patch/files/digest-patch-2.5.4-r5 @@ -0,0 +1 @@ +MD5 ee5ae84d115f051d87fcaaef3b4ae782 patch-2.5.4.tar.gz 186879 diff --git a/sys-devel/patch/patch-2.5.4-r5.ebuild b/sys-devel/patch/patch-2.5.4-r5.ebuild new file mode 100644 index 000000000000..7fcf55641549 --- /dev/null +++ b/sys-devel/patch/patch-2.5.4-r5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/patch/patch-2.5.4-r5.ebuild,v 1.1 2003/05/14 02:24:33 msterret Exp $ + +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="Utility to apply diffs to files" +SRC_URI="ftp://ftp.gnu.org/gnu/patch/${A}" +HOMEPAGE="http://www.gnu.org/software/patch/patch.html" +DEPEND="virtual/glibc" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm" + +src_compile() { + CFLAGS="$CFLAGS -DLINUX -D_XOPEN_SOURCE=500"; export CFLAGS + ac_cv_sys_long_file_names=yes \ + ./configure --host=${CHOST} --prefix=/usr --mandir=/usr/share/man + if [ -z "`use static`" ] + then + make ${MAKEOPTS} || die "make failed" + else + make ${MAKEOPTS} LDFLAGS=-static || die "make failed" + fi +} + +src_install() { + make prefix=${D}/usr mandir=${D}/usr/share/man install || \ + die "make install failed" + if [ -z "`use build`" ] + then + dodoc AUTHORS COPYING ChangeLog NEWS README + else + rm -rf ${D}/usr/share/man + fi +} |