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