summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-23 02:40:27 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-23 02:40:27 -0400
commite9a6b95c48c57f0cde265333351d638724d66a91 (patch)
tree35dd692a4993729dfd54066ec334f90ec8ecec52 /sys-fs
parentsys-fs/hfsplusutils: fix build w/gcc-5 #580620 (diff)
downloadgentoo-e9a6b95c48c57f0cde265333351d638724d66a91.tar.gz
gentoo-e9a6b95c48c57f0cde265333351d638724d66a91.tar.bz2
gentoo-e9a6b95c48c57f0cde265333351d638724d66a91.zip
sys-fs/hfsplusutils: add support for USE=static-libs
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
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
}