summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/diffutils/ChangeLog7
-rw-r--r--sys-apps/diffutils/diffutils-3.1.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/sys-apps/diffutils/ChangeLog b/sys-apps/diffutils/ChangeLog
index ce593ecc3348..a1c2e7e8f1ab 100644
--- a/sys-apps/diffutils/ChangeLog
+++ b/sys-apps/diffutils/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/diffutils
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/diffutils/ChangeLog,v 1.63 2011/05/29 11:25:20 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/diffutils/ChangeLog,v 1.64 2011/09/02 09:32:58 radhermit Exp $
+
+*diffutils-3.1 (02 Sep 2011)
+
+ 02 Sep 2011; Tim Harder <radhermit@gentoo.org> +diffutils-3.1.ebuild:
+ Version bump. Update to EAPI 4.
29 May 2011; Raúl Porcel <armin76@gentoo.org> diffutils-3.0.ebuild:
alpha/ia64/m68k/s390/sh/sparc stable wrt #359657
diff --git a/sys-apps/diffutils/diffutils-3.1.ebuild b/sys-apps/diffutils/diffutils-3.1.ebuild
new file mode 100644
index 000000000000..0ddcccacca25
--- /dev/null
+++ b/sys-apps/diffutils/diffutils-3.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/diffutils/diffutils-3.1.ebuild,v 1.1 2011/09/02 09:32:58 radhermit Exp $
+
+EAPI=4
+
+inherit flag-o-matic
+
+DESCRIPTION="Tools to make diffs and compare files"
+HOMEPAGE="http://www.gnu.org/software/diffutils/"
+SRC_URI="ftp://alpha.gnu.org/gnu/diffutils/${P}.tar.gz
+ mirror://gnu/diffutils/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="nls static"
+
+RDEPEND=""
+DEPEND="nls? ( sys-devel/gettext )"
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
+
+src_configure() {
+ use static && append-ldflags -static
+
+ # Disable automagic dependency over libsigsegv; see bug #312351.
+ export ac_cv_libsigsegv=no
+
+ econf \
+ --with-packager="Gentoo" \
+ --with-packager-version="${PVR}" \
+ --with-packager-bug-reports="http://bugs.gentoo.org/" \
+ $(use_enable nls)
+}
+
+src_test() {
+ # explicitly allow parallel testing
+ emake check
+}