summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/argp-standalone')
-rw-r--r--sys-libs/argp-standalone/argp-standalone-1.4.1-r1.ebuild (renamed from sys-libs/argp-standalone/argp-standalone-1.4.1.ebuild)8
1 files changed, 6 insertions, 2 deletions
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
index 20321b3bca65..c665f174dc20 100644
--- a/sys-libs/argp-standalone/argp-standalone-1.4.1.ebuild
+++ b/sys-libs/argp-standalone/argp-standalone-1.4.1-r1.ebuild
@@ -11,11 +11,15 @@ SRC_URI="https://github.com/ericonr/argp-standalone/archive/refs/tags/${PV}.tar.
LICENSE="public-domain GPL-2 GPL-3 XC"
SLOT="0"
-#KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~x86"
IUSE="static-libs"
DEPEND="!sys-libs/glibc"
+PATCHES=(
+ "${FILESDIR}"/argp-standalone-1.3-shared.patch
+)
+
src_prepare() {
default
@@ -25,7 +29,7 @@ src_prepare() {
src_configure() {
append-cflags "-fgnu89-inline"
- econf
+ econf $(use_enable static-libs static)
}
src_install() {