diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-08-09 07:24:15 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-08-09 07:24:29 +0200 |
commit | 570ff939772d66b886b273e3feb56ba1c1a263a3 (patch) | |
tree | d656547e0a27b93dee52c869a67f3d17c38ae40f /sys-apps | |
parent | dev-ruby/syntax: add 1.2.1 (diff) | |
download | gentoo-570ff939772d66b886b273e3feb56ba1c1a263a3.tar.gz gentoo-570ff939772d66b886b273e3feb56ba1c1a263a3.tar.bz2 gentoo-570ff939772d66b886b273e3feb56ba1c1a263a3.zip |
sys-apps/diffutils: Bump to version 3.4
Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/diffutils/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/diffutils/diffutils-3.4.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/sys-apps/diffutils/Manifest b/sys-apps/diffutils/Manifest index 49003a7fb2c6..c3525cca9409 100644 --- a/sys-apps/diffutils/Manifest +++ b/sys-apps/diffutils/Manifest @@ -1 +1,2 @@ DIST diffutils-3.3.tar.xz 1197832 SHA256 a25e89a8ab65fded1731e4186be1bb25cda967834b6df973599cdcd5abdfc19c SHA512 b04b998717e45e8fd1ba675957dad1909beeed68ffc41c0d9bbaddaf78965f9e63af5a8d8811bb94f33a3cddcad2fe1ad794e52e545def9ce96c092999a74a83 WHIRLPOOL 8fd3b179afdc3fd127cee8829535b0fc6d949443645e8df80fa45c2fa44a732ea652259b644d81a9be14d4c7f7c3b5bad7b8861934a6bc691cd02a34c0200ed3 +DIST diffutils-3.4.tar.xz 1358392 SHA256 db53c025f2ac3d217bcf753dad6dee7b410b33d0948495ff015aaf8b91189ce2 SHA512 0fc273007e35e67e217116e776956c6a24421f298d3e6fe60aa1d4250938a65bb8e685cd815517317b5637f5c412c1550d7c1994a9e0283ebbcae9bde24a260d WHIRLPOOL cd9460385d618b169b343e5f197937a4abfbf3d64076c609a0cde78372d08225fc2078fa7c028a80963f08f3eadfc2ee8074b03b83730745842da44f7483113f diff --git a/sys-apps/diffutils/diffutils-3.4.ebuild b/sys-apps/diffutils/diffutils-3.4.ebuild new file mode 100644 index 000000000000..a8e780e8bf22 --- /dev/null +++ b/sys-apps/diffutils/diffutils-3.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit flag-o-matic + +DESCRIPTION="Tools to make diffs and compare files" +HOMEPAGE="https://www.gnu.org/software/diffutils/" +SRC_URI="mirror://gnu-alpha/diffutils/${P}.tar.xz + mirror://gnu/diffutils/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="nls static" + +DEPEND="app-arch/xz-utils + nls? ( sys-devel/gettext )" + +DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) + +src_prepare() { + sed -i 's:@mkdir_p@:@MKDIR_P@:g' po/Makefile.in.in || die #464604 +} + +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="https://bugs.gentoo.org/" \ + $(use_enable nls) +} + +src_test() { + # explicitly allow parallel testing + emake check +} |