commit:     1ef6bd6c58494558d6fbd82f960b6c0fe5cba7c4
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  2 05:16:14 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Aug  2 05:16:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ef6bd6c

sys-apps/diffutils: Bump to version 3.8

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-apps/diffutils/Manifest             |  1 +
 sys-apps/diffutils/diffutils-3.8.ebuild | 43 +++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/sys-apps/diffutils/Manifest b/sys-apps/diffutils/Manifest
index 98d0d4dbed4..d8cc926d957 100644
--- a/sys-apps/diffutils/Manifest
+++ b/sys-apps/diffutils/Manifest
@@ -1 +1,2 @@
 DIST diffutils-3.7.tar.xz 1448828 BLAKE2B 
d9f115e0ec9b2499545a3bef4e469fb7786d4a95e0a1c8459c885c53e8b1dc797027979e42c53c2a7df4e1e224942bd9ce5214813977af2bcc67f0698ea0c647
 SHA512 
7b12cf8aea1b9844773748f72272d9c6a38adae9c3c3a8c62048f91fb56c60b76035fa5f51665dceaf2cfbf1d1f4a3efdcc24bf47a5a16ff4350543314b12c9c
+DIST diffutils-3.8.tar.xz 1585120 BLAKE2B 
573abbfba55c62ba30d2084ca68860e9681cfe92648407f7fb04e1aaed2e4719e2fb5a29cf25bd125d762f4dfd52f85ee91f2ec19b099365bada7fe27a0394af
 SHA512 
279441270987e70d5ecfaf84b6285a4866929c43ec877e50f154a788858d548a8a316f2fc26ad62f7348c8d289cb29a09d06dfadce1806e3d8b4ea88c8b1aa7c

diff --git a/sys-apps/diffutils/diffutils-3.8.ebuild 
b/sys-apps/diffutils/diffutils-3.8.ebuild
new file mode 100644
index 00000000000..0a85ac0bf2e
--- /dev/null
+++ b/sys-apps/diffutils/diffutils-3.8.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+DESCRIPTION="Tools to make diffs and compare files"
+HOMEPAGE="https://www.gnu.org/software/diffutils/";
+SRC_URI="mirror://gnu/diffutils/${P}.tar.xz
+       https://alpha.gnu.org/gnu/diffutils/${P}.tar.xz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="nls static"
+
+BDEPEND="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
+
+       # required for >=glibc-2.26, bug #653914
+       use elibc_glibc && export gl_cv_func_getopt_gnu=yes
+
+       local myeconfargs=(
+               --with-packager="Gentoo"
+               --with-packager-version="${PVR}"
+               --with-packager-bug-reports="https://bugs.gentoo.org/";
+               $(use_enable nls)
+       )
+       econf "${myeconfargs[@]}"
+}
+
+src_test() {
+       # explicitly allow parallel testing
+       emake check
+}

Reply via email to