1 |
commit: a0c03c6661fa9946ff4dd3f84346e01461eca651 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 1 11:14:19 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 1 11:14:19 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0c03c66 |
7 |
|
8 |
sys-apps/diffutils: Bump to version 3.7 |
9 |
|
10 |
Package-Manager: Portage-2.3.53, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-apps/diffutils/Manifest | 1 + |
14 |
sys-apps/diffutils/diffutils-3.7.ebuild | 44 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 45 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/diffutils/Manifest b/sys-apps/diffutils/Manifest |
18 |
index 74fc079beea..93aaa2ed134 100644 |
19 |
--- a/sys-apps/diffutils/Manifest |
20 |
+++ b/sys-apps/diffutils/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST diffutils-3.5.tar.xz 1360996 BLAKE2B a2348911daff19a73a00985e8528888306f88be36bc2b2433bbd1a2a4dd37da06845df718c797b571e85b7f7fdaac8cb0514098b4c14dd634d531d12ba034be6 SHA512 758229637e3703215adf66c5df04126ae594424abaf2cad8f1fa482bd9759e90838c943ef56e0129beb1396f5932ed9337c8396679da3de32e49bb43d423fd6b |
23 |
DIST diffutils-3.6.tar.xz 1398296 BLAKE2B 1b0a1443f676a1c09d25ad0be4c2d936156da8e690fade9d39d94be3850c502db24c3f508178a51e817437069db2d110fb4577cd67b2cf645c11a1f26a043e3d SHA512 3c159ff1cb7c901b0a57518483566b5740ca3c45aeb8d3004089f052975481db52994cc18592c502c68b0d2a1e22f1f7830f0d8dd9a9ed86de96e28cce9f70c1 |
24 |
+DIST diffutils-3.7.tar.xz 1448828 BLAKE2B d9f115e0ec9b2499545a3bef4e469fb7786d4a95e0a1c8459c885c53e8b1dc797027979e42c53c2a7df4e1e224942bd9ce5214813977af2bcc67f0698ea0c647 SHA512 7b12cf8aea1b9844773748f72272d9c6a38adae9c3c3a8c62048f91fb56c60b76035fa5f51665dceaf2cfbf1d1f4a3efdcc24bf47a5a16ff4350543314b12c9c |
25 |
|
26 |
diff --git a/sys-apps/diffutils/diffutils-3.7.ebuild b/sys-apps/diffutils/diffutils-3.7.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4a57d7cd420 |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/diffutils/diffutils-3.7.ebuild |
31 |
@@ -0,0 +1,44 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit flag-o-matic |
38 |
+ |
39 |
+DESCRIPTION="Tools to make diffs and compare files" |
40 |
+HOMEPAGE="https://www.gnu.org/software/diffutils/" |
41 |
+SRC_URI="mirror://gnu/diffutils/${P}.tar.xz |
42 |
+ mirror://gnu-alpha/diffutils/${P}.tar.xz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
47 |
+IUSE="nls static" |
48 |
+ |
49 |
+DEPEND="app-arch/xz-utils |
50 |
+ nls? ( sys-devel/gettext )" |
51 |
+ |
52 |
+DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) |
53 |
+ |
54 |
+src_configure() { |
55 |
+ use static && append-ldflags -static |
56 |
+ |
57 |
+ # Disable automagic dependency over libsigsegv; see bug #312351. |
58 |
+ export ac_cv_libsigsegv=no |
59 |
+ |
60 |
+ # required for >=glibc-2.26, bug #653914 |
61 |
+ use elibc_glibc && export gl_cv_func_getopt_gnu=yes |
62 |
+ |
63 |
+ local myeconfargs=( |
64 |
+ --with-packager="Gentoo" |
65 |
+ --with-packager-version="${PVR}" |
66 |
+ --with-packager-bug-reports="https://bugs.gentoo.org/" |
67 |
+ $(use_enable nls) |
68 |
+ ) |
69 |
+ econf "${myeconfargs[@]}" |
70 |
+} |
71 |
+ |
72 |
+src_test() { |
73 |
+ # explicitly allow parallel testing |
74 |
+ emake check |
75 |
+} |