Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 542540

Summary: sys-apps/keyutils: add IUSE="static-libs"
Product: Gentoo Linux Reporter: Hristo Venev <hristo>
Component: [OLD] Core systemAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hristo Venev 2015-03-08 11:41:28 UTC
--- a/sys-apps/keyutils/keyutils-1.5.9-r1.ebuild
+++ b/sys-apps/keyutils/keyutils-1.5.9-r1.ebuild
@@ -13,7 +13,7 @@
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0"
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux"
-IUSE="test"
+IUSE="static-libs test"
 
 RDEPEND="
 	abi_x86_32? (
@@ -59,6 +59,7 @@
 		-e "/^LIBDIR/s:=.*:= /usr/$(get_libdir):" \
 		-e '/^USRLIBDIR/s:=.*:=$(LIBDIR):' \
 		-e "s: /: ${EPREFIX}/:g" \
+		-e "/^NO_ARLIB/s:=.*:=$(usex static-libs 0 1):" \
 		Makefile || die
 
 	emake


Reproducible: Always