1 |
commit: 14862bdd368de259024c427b18eff48267e740e0 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 2 08:56:32 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 2 08:59:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14862bdd |
7 |
|
8 |
app-shells/dash: Bump to version 0.5.11 |
9 |
|
10 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
app-shells/dash/Manifest | 1 + |
14 |
app-shells/dash/dash-0.5.11.ebuild | 51 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 52 insertions(+) |
16 |
|
17 |
diff --git a/app-shells/dash/Manifest b/app-shells/dash/Manifest |
18 |
index a950fe55632..0ee67432d18 100644 |
19 |
--- a/app-shells/dash/Manifest |
20 |
+++ b/app-shells/dash/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST dash-0.5.10.2.tar.gz 225196 BLAKE2B af48879d29aee8041949b51f08eb89c3938e77b2e05553a3e1a9939da7b00fd80f7b9fb35f33e18b0c11850bfb1b8377e9dc9bcfd80754fd29c9d160e0ce5a4d SHA512 0ae29be77794df0ba254967649b9728611a75fbb3acd32ab6634d76399d1ce97c7d12d31da465482a7e4f3207093415c496c39525cace9b78ab3cb9444dd7640 |
23 |
+DIST dash-0.5.11.tar.gz 238776 BLAKE2B 0d399b35c10a33f6a22f51f7b74b9e092fb11d47ae45948f43fab0dd1416061145e7f930f0f0d1119d02cc45790ba19ce040c951322c131e706e5f3f32f2612b SHA512 41c3afa8aa4788f7899b9a4c1bce2dc8629f4405184cdc7269993e72c695cf9537c9e68b654d56f06c604a82ffa73c9160b91368e82a3593a12ff7dea10505d1 |
24 |
DIST dash-0.5.9.1.tar.gz 225217 BLAKE2B a80aa00ea5418d00b03c9ded21ef5c3a28d599059d1ac2f20082867b71ece6afac2f0bce9bc09946450c7618ad2c7f95df63b3d519a7f56552a291d09e44a71b SHA512 d56a043b8fab4693d3f70cceb531c37174e7ded4acd5549e53048d7ce29125ff21d7e758f51a4a73e06250d051e246467039989275838c19a2579edea3f72b7d |
25 |
|
26 |
diff --git a/app-shells/dash/dash-0.5.11.ebuild b/app-shells/dash/dash-0.5.11.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..1bd542ff827 |
29 |
--- /dev/null |
30 |
+++ b/app-shells/dash/dash-0.5.11.ebuild |
31 |
@@ -0,0 +1,51 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit flag-o-matic toolchain-funcs |
38 |
+ |
39 |
+DESCRIPTION="Debian Almquist Shell" |
40 |
+HOMEPAGE="http://gondor.apana.org.au/~herbert/dash/" |
41 |
+SRC_URI="http://gondor.apana.org.au/~herbert/dash/files/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
46 |
+IUSE="libedit static" |
47 |
+ |
48 |
+BDEPEND="virtual/pkgconfig" |
49 |
+RDEPEND="!static? ( libedit? ( dev-libs/libedit ) )" |
50 |
+DEPEND="${RDEPEND} |
51 |
+ libedit? ( static? ( dev-libs/libedit[static-libs] ) )" |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ default |
55 |
+ |
56 |
+ # Fix the invalid sort |
57 |
+ sed -i -e 's/LC_COLLATE=C/LC_ALL=C/g' src/mkbuiltins |
58 |
+ |
59 |
+ # Use pkg-config for libedit linkage |
60 |
+ sed -i \ |
61 |
+ -e "/LIBS/s:-ledit:\`$(tc-getPKG_CONFIG) --libs libedit $(usex static --static '')\`:" \ |
62 |
+ configure || die |
63 |
+} |
64 |
+ |
65 |
+src_configure() { |
66 |
+ # don't redefine stat on Solaris |
67 |
+ if [[ ${CHOST} == *-solaris* ]] ; then |
68 |
+ export ac_cv_func_stat64=yes |
69 |
+ |
70 |
+ # if your headers strictly adhere to POSIX, you'll need this too |
71 |
+ [[ ${CHOST##*solaris2.} -le 10 ]] && append-cppflags -DNAME_MAX=255 |
72 |
+ fi |
73 |
+ append-cppflags -DJOBS=$(usex libedit 1 0) |
74 |
+ use static && append-ldflags -static |
75 |
+ # Do not pass --enable-glob due to #443552. |
76 |
+ local myeconfargs=( |
77 |
+ --bindir="${EPREFIX}"/bin |
78 |
+ --enable-fnmatch |
79 |
+ $(use_with libedit) |
80 |
+ ) |
81 |
+ econf "${myeconfargs[@]}" |
82 |
+} |