From e9a6b95c48c57f0cde265333351d638724d66a91 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 23 Apr 2016 02:40:27 -0400 Subject: sys-fs/hfsplusutils: add support for USE=static-libs --- sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sys-fs/hfsplusutils') diff --git a/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild b/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild index fd1d77c39579..71cc51b2ebaa 100644 --- a/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild +++ b/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="http://penguinppc.org/historical/hfsplus/${MY_P}.src.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="ppc ppc64 x86" -IUSE="" +IUSE="static-libs" DEPEND="app-arch/bzip2" RDEPEND="" @@ -33,7 +33,12 @@ src_prepare() { append-flags -fgnu89-inline } +src_configure() { + econf $(use_enable static-libs static) +} + src_install() { default + find "${ED}"/usr/ -name libhfsp.la -delete newman doc/man/hfsp.man hfsp.1 } -- cgit v1.2.3-18-g5258