commit: daa3bb400befa8ec54cd62d72edaf484ecd27464
parent a37096efbf508a87a291767a540b294934f03b61
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 12 Jan 2024 19:56:15 +0100
sys-apps/utils-extra: Add USE=static
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sys-apps/utils-extra/utils-extra-9999.ebuild b/sys-apps/utils-extra/utils-extra-9999.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://hacktivis.me/git/utils-extra"
EGIT_REPO_URI="https://hacktivis.me/git/utils-extra.git"
LICENSE="MPL-2.0"
SLOT="0"
-IUSE="test"
+IUSE="test static"
RESTRICT="!test? ( test )"
@@ -24,6 +24,8 @@ BDEPEND="
src_configure() {
export NO_BWRAP=1
+ use static && export CFLAGS="${CFLAGS} -static"
+
./configure PREFIX='/usr'
}