diff --git a/packages/media-libs/libcaca/libcaca-0.99_beta18.exheres-0 b/packages/media-libs/libcaca/libcaca-0.99_beta18.exheres-0 index 33c183e6..3342d83a 100644 --- a/packages/media-libs/libcaca/libcaca-0.99_beta18.exheres-0 +++ b/packages/media-libs/libcaca/libcaca-0.99_beta18.exheres-0 @@ -10,3 +10,11 @@ PLATFORMS="~amd64" WORK="${WORKBASE}/${MY_PNV}" +src_install() { + default + if option !java; then + edo rmdir "${IMAGE}"/usr/"${LIBDIR}"/jni + edo rmdir "${IMAGE}"/usr/share/java + fi +} +