1 |
commit: c38414b4a8606cb67a8db9f69dbe152977adf17f |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 23 17:31:29 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 23 17:31:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c38414b4 |
7 |
|
8 |
sys-libs/argp-standalone: re-enable shared patch for 1.4.1 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
...gp-standalone-1.4.1.ebuild => argp-standalone-1.4.1-r1.ebuild} | 8 ++++++-- |
13 |
1 file changed, 6 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/sys-libs/argp-standalone/argp-standalone-1.4.1.ebuild b/sys-libs/argp-standalone/argp-standalone-1.4.1-r1.ebuild |
16 |
similarity index 79% |
17 |
rename from sys-libs/argp-standalone/argp-standalone-1.4.1.ebuild |
18 |
rename to sys-libs/argp-standalone/argp-standalone-1.4.1-r1.ebuild |
19 |
index 20321b3bca65..c665f174dc20 100644 |
20 |
--- a/sys-libs/argp-standalone/argp-standalone-1.4.1.ebuild |
21 |
+++ b/sys-libs/argp-standalone/argp-standalone-1.4.1-r1.ebuild |
22 |
@@ -11,11 +11,15 @@ SRC_URI="https://github.com/ericonr/argp-standalone/archive/refs/tags/${PV}.tar. |
23 |
|
24 |
LICENSE="public-domain GPL-2 GPL-3 XC" |
25 |
SLOT="0" |
26 |
-#KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~x86" |
27 |
+KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~x86" |
28 |
IUSE="static-libs" |
29 |
|
30 |
DEPEND="!sys-libs/glibc" |
31 |
|
32 |
+PATCHES=( |
33 |
+ "${FILESDIR}"/argp-standalone-1.3-shared.patch |
34 |
+) |
35 |
+ |
36 |
src_prepare() { |
37 |
default |
38 |
|
39 |
@@ -25,7 +29,7 @@ src_prepare() { |
40 |
src_configure() { |
41 |
append-cflags "-fgnu89-inline" |
42 |
|
43 |
- econf |
44 |
+ econf $(use_enable static-libs static) |
45 |
} |
46 |
|
47 |
src_install() { |