summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2003-05-14 02:24:33 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2003-05-14 02:24:33 +0000
commitbd928b8c72e3de7defd5ad102071717920f380b7 (patch)
tree3015cb1dcb7a78eeeb325e59e50dd10c028af01c /sys-devel
parentbumped version to 4.0s final (diff)
downloadhistorical-bd928b8c72e3de7defd5ad102071717920f380b7.tar.gz
historical-bd928b8c72e3de7defd5ad102071717920f380b7.tar.bz2
historical-bd928b8c72e3de7defd5ad102071717920f380b7.zip
New ebuild for patch that uses || die instead of try.
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/patch/ChangeLog7
-rw-r--r--sys-devel/patch/files/digest-patch-2.5.4-r51
-rw-r--r--sys-devel/patch/patch-2.5.4-r5.ebuild36
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
+}