summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-01-01 07:00:56 +0000
committerMike Frysinger <vapier@gentoo.org>2010-01-01 07:00:56 +0000
commit7a72bc92cf85d5c38a57c647a70a356b0b698847 (patch)
tree89d995a57e3b1a183bf7ddb8240393dd9ab3ec7c /sys-devel/patch
parentold (diff)
downloadgentoo-2-7a72bc92cf85d5c38a57c647a70a356b0b698847.tar.gz
gentoo-2-7a72bc92cf85d5c38a57c647a70a356b0b698847.tar.bz2
gentoo-2-7a72bc92cf85d5c38a57c647a70a356b0b698847.zip
Version bump.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel/patch')
-rw-r--r--sys-devel/patch/ChangeLog9
-rw-r--r--sys-devel/patch/patch-2.6.1.ebuild29
2 files changed, 36 insertions, 2 deletions
diff --git a/sys-devel/patch/ChangeLog b/sys-devel/patch/ChangeLog
index fbea984cc346..12d17c855303 100644
--- a/sys-devel/patch/ChangeLog
+++ b/sys-devel/patch/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-devel/patch
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/patch/ChangeLog,v 1.42 2009/11/14 15:33:39 vapier Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/patch/ChangeLog,v 1.43 2010/01/01 07:00:56 vapier Exp $
+
+*patch-2.6.1 (01 Jan 2010)
+
+ 01 Jan 2010; Mike Frysinger <vapier@gentoo.org> +patch-2.6.1.ebuild:
+ Version bump.
*patch-2.6 (14 Nov 2009)
diff --git a/sys-devel/patch/patch-2.6.1.ebuild b/sys-devel/patch/patch-2.6.1.ebuild
new file mode 100644
index 000000000000..690e249cd884
--- /dev/null
+++ b/sys-devel/patch/patch-2.6.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/patch/patch-2.6.1.ebuild,v 1.1 2010/01/01 07:00:56 vapier Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="Utility to apply diffs to files"
+HOMEPAGE="http://www.gnu.org/software/patch/patch.html"
+SRC_URI="mirror://gnu/patch/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="static"
+
+src_compile() {
+ use static && append-ldflags -static
+
+ local myconf=""
+ [[ ${USERLAND} != "GNU" ]] && myconf="--program-prefix=g"
+ econf ${myconf} || die
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc AUTHORS ChangeLog NEWS README
+}