summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-devel/patch/ChangeLog10
-rw-r--r--sys-devel/patch/Manifest4
-rw-r--r--sys-devel/patch/patch-2.5.4-r5.ebuild34
3 files changed, 27 insertions, 21 deletions
diff --git a/sys-devel/patch/ChangeLog b/sys-devel/patch/ChangeLog
index 671346d17c18..4a5592042e39 100644
--- a/sys-devel/patch/ChangeLog
+++ b/sys-devel/patch/ChangeLog
@@ -1,6 +1,14 @@
# 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.10 2003/05/14 22:40:04 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/patch/ChangeLog,v 1.11 2003/05/15 22:12:00 msterret Exp $
+
+ 01 May 2003; <msterret@gentoo.org> patch-2.5.4-r5.ebuild:
+ added IUSE
+ some suggested changes from agriffis:
+ don't export CFLAGS; that's done automatically
+ use emake
+ use einstall
+ other small cleanups
*patch-2.5.4-r5 (01 May 2003)
diff --git a/sys-devel/patch/Manifest b/sys-devel/patch/Manifest
index 55c23c8f738d..f423a167ba7f 100644
--- a/sys-devel/patch/Manifest
+++ b/sys-devel/patch/Manifest
@@ -1,7 +1,7 @@
-MD5 fe37df8ffc1fa02c8f7588542240992a ChangeLog 1485
+MD5 c161c0be5ceb7de4b879e68f7679cf0d ChangeLog 1701
MD5 50fbe09e2332a6cd62000c016bc48f11 patch-2.5.4-r3.ebuild 914
MD5 bcf8b9c8bc2b34e71c0c31db240ef2f2 patch-2.5.4-r4.ebuild 1033
-MD5 609f73cdcbf3f910cb69c512fd0d85d4 patch-2.5.4-r5.ebuild 1092
+MD5 a13d318f3ecb2b589ef8d4041743256d patch-2.5.4-r5.ebuild 943
MD5 d8308835b63cc0644a67523856ef2df8 files/digest-patch-2.5.4-r3 63
MD5 d8308835b63cc0644a67523856ef2df8 files/digest-patch-2.5.4-r4 63
MD5 d8308835b63cc0644a67523856ef2df8 files/digest-patch-2.5.4-r5 63
diff --git a/sys-devel/patch/patch-2.5.4-r5.ebuild b/sys-devel/patch/patch-2.5.4-r5.ebuild
index 7fcf55641549..922069164637 100644
--- a/sys-devel/patch/patch-2.5.4-r5.ebuild
+++ b/sys-devel/patch/patch-2.5.4-r5.ebuild
@@ -1,11 +1,12 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/patch/patch-2.5.4-r5.ebuild,v 1.2 2003/05/15 22:12:00 msterret Exp $
+
+IUSE="build"
-A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Utility to apply diffs to files"
-SRC_URI="ftp://ftp.gnu.org/gnu/patch/${A}"
+SRC_URI="ftp://ftp.gnu.org/gnu/patch/${P}.tar.gz"
HOMEPAGE="http://www.gnu.org/software/patch/patch.html"
DEPEND="virtual/glibc"
LICENSE="GPL-2"
@@ -13,24 +14,21 @@ SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm"
src_compile() {
- CFLAGS="$CFLAGS -DLINUX -D_XOPEN_SOURCE=500"; export CFLAGS
+ CFLAGS="$CFLAGS -DLINUX -D_XOPEN_SOURCE=500"
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
+ if [ -z "`use static`" ]; then
+ emake || die "emake failed"
+ else
+ emake LDFLAGS=-static || die "emake 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
+ einstall
+ if [ -z "`use build`" ]; then
+ dodoc AUTHORS COPYING ChangeLog NEWS README
+ else
+ rm -rf ${D}/usr/share/man
+ fi
}