diff --git a/sys-libs/db/db-4.8.30.ebuild b/sys-libs/db/db-4.8.30.ebuild index cca5bb3..00205ba 100644 --- a/sys-libs/db/db-4.8.30.ebuild +++ b/sys-libs/db/db-4.8.30.ebuild @@ -27,7 +27,7 @@ done LICENSE="Sleepycat" SLOT="4.8" KEYWORDS="~alpha amd64 arm hppa ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" -IUSE="doc java cxx tcl test" +IUSE="doc java cxx static-libs tcl test" # the entire testsuite needs the TCL functionality DEPEND="tcl? ( >=dev-lang/tcl-8.4 ) @@ -124,6 +124,7 @@ src_compile() { $(use_enable cxx stl) \ $(use_enable java) \ ${myconf} \ + $(use_enable static-libs static) \ $(use_enable test) \ "$@" @@ -151,6 +152,8 @@ src_install() { java-pkg_dojar "${D}"/usr/"$(get_libdir)"/*.jar rm -f "${D}"/usr/"$(get_libdir)"/*.jar fi + + use static-libs || prune_libtool_files } pkg_postinst() {