Skip to content

Commit

Permalink
sys-fs/hfsplusutils: add support for USE=static-libs
Browse files Browse the repository at this point in the history
  • Loading branch information
vapier committed Apr 23, 2016
1 parent 3efd216 commit e9a6b95
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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=""
Expand All @@ -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
}

0 comments on commit e9a6b95

Please sign in to comment.