aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-auth/polkit/polkit-0.118-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-auth/polkit/polkit-0.118-r1.ebuild b/sys-auth/polkit/polkit-0.118-r1.ebuild
index c8f24c7..9af062e 100644
--- a/sys-auth/polkit/polkit-0.118-r1.ebuild
+++ b/sys-auth/polkit/polkit-0.118-r1.ebuild
@@ -95,7 +95,6 @@ src_configure() {
--enable-man-pages
--disable-gtk-doc
--disable-examples
- $(use_with duktape)
$(use_enable elogind libelogind)
$(use_enable introspection)
$(use_enable nls)
@@ -106,6 +105,11 @@ src_configure() {
$(use_enable test)
--with-os-type=gentoo
)
+
+ if use duktape; then
+ myeconfargs+=( --with-duktape )
+ fi
+
econf "${myeconfargs[@]}"
}