Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542540 - sys-apps/keyutils: add IUSE="static-libs"
Summary: sys-apps/keyutils: add IUSE="static-libs"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-08 11:41 UTC by Hristo Venev
Modified: 2016-04-18 19:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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