LICENSE="NCSA-HDF"
SLOT="0/${PV%%_p*}"
KEYWORDS="alpha amd64 ~arm arm64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="cxx debug examples fortran +hl mpi static-libs szip threads zlib"
+IUSE="cxx debug examples fortran +hl mpi szip threads zlib"
REQUIRED_USE="
cxx? ( !mpi ) mpi? ( !cxx )
src_configure() {
econf \
+ --disable-static \
--enable-deprecated-symbols \
- $(use debug && echo --enable-build-mode=debug || echo --enable-build-mode=production) \
- $(use_enable debug codestack) \
+ --enable-build-mode=$(usex debug debug production) \
$(use_enable cxx) \
+ $(use_enable debug codestack) \
$(use_enable fortran) \
$(use_enable hl) \
$(use_enable mpi parallel) \
$(use_with threads pthread) \
$(use_with zlib)
}
+
+src_install() {
+ default
+
+ # no static archives
+ find "${D}" -name '*.la' -delete || die
+}