commit: cc7026782e2373ff46a6858c79587cd62dcce944
parent ea08d65b07e7c6928ac5122d2de378dc9c37aac9
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 8 Apr 2025 21:01:47 +0200
sys-apps/openpt: add USE=static
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/sys-apps/openpt/openpt-1.0.1.ebuild b/sys-apps/openpt/openpt-1.0.1.ebuild
@@ -10,6 +10,13 @@ KEYWORDS="~amd64"
LICENSE="MPL-2.0"
SLOT="0"
+IUSE="static"
+
+src_compile() {
+ use static && export LDFLAGS="${LDFLAGS} -static"
+ default
+}
+
src_install() {
PREFIX='/usr' default
}