diff --git a/system/base/polkit/actions.py b/system/base/polkit/actions.py
index 639b6406..913cbffb 100644
--- a/system/base/polkit/actions.py
+++ b/system/base/polkit/actions.py
@@ -13,6 +13,7 @@ def setup():
autotools.autoreconf("-fiv")
autotools.configure("--with-pam-module-dir=/lib/security/ \
--with-os-type=pardus \
+ --with-mozjs=mozjs-68 \
--with-duktape \
--with-dbus \
--enable-examples \
diff --git a/system/base/polkit/pspec.xml b/system/base/polkit/pspec.xml
index c0b8b2dd..3e225363 100644
--- a/system/base/polkit/pspec.xml
+++ b/system/base/polkit/pspec.xml
@@ -22,7 +22,7 @@
glib2-devel
expat-devel
duktape-devel
- gettext-devel
+ gettext-devel
spidermonkey-devel
gobject-introspection-devel
intltool
@@ -41,6 +41,7 @@
polkit
glib2-devel
+ duktape
/usr/include