aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cjs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/cjs/Makefile')
-rw-r--r--lang/cjs/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/lang/cjs/Makefile b/lang/cjs/Makefile
index a752893bd4ea..900edd3b5c04 100644
--- a/lang/cjs/Makefile
+++ b/lang/cjs/Makefile
@@ -1,5 +1,5 @@
PORTNAME= cjs
-DISTVERSION= 6.4.0
+DISTVERSION= 128.0
CATEGORIES= lang gnome
DIST_SUBDIR= gnome
@@ -13,13 +13,16 @@ LICENSE_FILE_MIT= ${WRKSRC}/LICENSES/MIT.txt
LICENSE_FILE_LGPL20+ = ${WRKSRC}/LICENSES/LGPL-2.0-or-later.txt
LIB_DEPENDS= libffi.so:devel/libffi \
- libmozjs-115.so:lang/spidermonkey115
+ libmozjs-128.so:lang/spidermonkey128
USES= compiler:c++17-lang gnome meson pkgconfig \
python:build shebangfix xorg
USE_GNOME= cairo glib20 introspection
USE_XORG= x11 xext
-MESON_ARGS= -Dprofiler=disabled
+MESON_ARGS= -Dprofiler=disabled \
+ -Dinstalled_tests=false
+# requires display connection which is not always available
+MESON_ARGS+= -Dskip_gtk_tests=true
USE_LDCONFIG= yes
@@ -36,9 +39,13 @@ OPTIONS_DEFAULT= READLINE
READLINE_MESON_ENABLED= readline
READLINE_USES= readline
-TEST_BUILD_DEPENDS= dbus-run-session:devel/dbus \
+TEST_BUILD_DEPENDS= dbus-run-session:devel/dbus
+TEST_TEST_DEPENDS= ${TEST_BUILD_DEPENDS} \
gtk3>0:x11-toolkits/gtk30 \
gtk4>0:x11-toolkits/gtk40
-TEST_MESON_FALSE= skip_dbus_tests skip_gtk_tests
+TEST_MESON_FALSE= skip_dbus_tests
+
+post-install:
+ @${RM} -r ${STAGEDIR}${PREFIX}/libexec/installed-tests
.include <bsd.port.mk>