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