summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-07 09:39:40 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-07 09:39:40 +0000
commit5019e8ab89e0862703c5b0ede5be08637ccac87f (patch)
treed9b4775995d0148d53347b5938b85e363f8d8660 /sys-devel/patch
parentAdded to ~ppc (diff)
downloadhistorical-5019e8ab89e0862703c5b0ede5be08637ccac87f.tar.gz
historical-5019e8ab89e0862703c5b0ede5be08637ccac87f.tar.bz2
historical-5019e8ab89e0862703c5b0ede5be08637ccac87f.zip
Install as gpatch on non-GNU systems #91560.
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'sys-devel/patch')
-rw-r--r--sys-devel/patch/ChangeLog7
-rw-r--r--sys-devel/patch/Manifest6
-rw-r--r--sys-devel/patch/patch-2.5.9-r1.ebuild10
3 files changed, 14 insertions, 9 deletions
diff --git a/sys-devel/patch/ChangeLog b/sys-devel/patch/ChangeLog
index 2fa66509603b..016d8dc3b295 100644
--- a/sys-devel/patch/ChangeLog
+++ b/sys-devel/patch/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-devel/patch
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/patch/ChangeLog,v 1.30 2005/04/01 17:12:45 agriffis Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/patch/ChangeLog,v 1.31 2005/05/07 09:39:40 vapier Exp $
+
+ 07 May 2005; Mike Frysinger <vapier@gentoo.org> patch-2.5.9-r1.ebuild:
+ Install as gpatch on non-GNU systems #91560.
01 Apr 2005; Aron Griffis <agriffis@gentoo.org> patch-2.5.9-r1.ebuild:
stable on ia64
diff --git a/sys-devel/patch/Manifest b/sys-devel/patch/Manifest
index 917766fad676..90d75d0b44f9 100644
--- a/sys-devel/patch/Manifest
+++ b/sys-devel/patch/Manifest
@@ -1,7 +1,7 @@
-MD5 1a238c554d76e5a610a234935f6745ff patch-2.5.9.ebuild 1438
-MD5 c93a461d7fb9cf39d14206cc64085235 ChangeLog 4047
+MD5 9d0781dc0afc19d3ded0c20299f755bc ChangeLog 4166
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 d30bd889de8b7fd5b9e0c6bd16673fb7 patch-2.5.9-r1.ebuild 1016
+MD5 1a238c554d76e5a610a234935f6745ff patch-2.5.9.ebuild 1438
+MD5 94fb76de8d4b0bad733cbf01aa3bae6d patch-2.5.9-r1.ebuild 1104
MD5 7113f2413944cb06cecdd0c57ab54078 files/digest-patch-2.5.9 63
MD5 4d1e5f04f223836b5c65c0995abd16ff files/2.5.9-deb-cr.patch 866
MD5 7113f2413944cb06cecdd0c57ab54078 files/digest-patch-2.5.9-r1 63
diff --git a/sys-devel/patch/patch-2.5.9-r1.ebuild b/sys-devel/patch/patch-2.5.9-r1.ebuild
index e4abf55f99fd..c64a61cb5d0e 100644
--- a/sys-devel/patch/patch-2.5.9-r1.ebuild
+++ b/sys-devel/patch/patch-2.5.9-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/patch/patch-2.5.9-r1.ebuild,v 1.6 2005/04/01 17:12:45 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/patch/patch-2.5.9-r1.ebuild,v 1.7 2005/05/07 09:39:40 vapier Exp $
inherit flag-o-matic eutils
@@ -19,8 +19,8 @@ DEPEND=""
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${PV}-deb-cr.patch
+ cd "${S}"
+ epatch "${FILESDIR}"/${PV}-deb-cr.patch
}
src_compile() {
@@ -28,7 +28,9 @@ src_compile() {
append-flags -DLINUX -D_XOPEN_SOURCE=500
use static && append-ldflags -static
- ac_cv_sys_long_file_names=yes econf || die
+ local myconf=""
+ [[ ${USERLAND} != "GNU" ]] && myconf="--program-prefix=g"
+ ac_cv_sys_long_file_names=yes econf ${myconf} || die
emake || die "emake failed"
}