head 1.11; access; symbols pkgsrc-2026Q1:1.11.0.2 pkgsrc-2026Q1-base:1.11 pkgsrc-2025Q4:1.10.0.2 pkgsrc-2025Q4-base:1.10 pkgsrc-2025Q3:1.9.0.4 pkgsrc-2025Q3-base:1.9 pkgsrc-2025Q2:1.9.0.2 pkgsrc-2025Q2-base:1.9 pkgsrc-2025Q1:1.7.0.4 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.2 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.3.0.2 pkgsrc-2024Q3-base:1.3; locks; strict; comment @# @; 1.11 date 2026.01.07.08.47.38; author wiz; state Exp; branches; next 1.10; commitid 1wQ3ICD8eebefrpG; 1.10 date 2025.09.29.14.16.28; author ryoon; state Exp; branches; next 1.9; commitid Cuz9cABCT1umiCcG; 1.9 date 2025.05.09.19.37.13; author wiz; state Exp; branches; next 1.8; commitid WCR78K3U9f0aFgUF; 1.8 date 2025.04.17.21.51.20; author wiz; state Exp; branches; next 1.7; commitid xcIXAVA292fk6sRF; 1.7 date 2024.11.14.22.20.28; author wiz; state Exp; branches; next 1.6; commitid JmuDYqwL4erbdFxF; 1.6 date 2024.11.01.12.53.13; author wiz; state Exp; branches; next 1.5; commitid QB4Wk02mZPuBuWvF; 1.5 date 2024.11.01.00.52.26; author wiz; state Exp; branches; next 1.4; commitid QT27BdVP362gvSvF; 1.4 date 2024.10.09.19.00.32; author wiz; state Exp; branches; next 1.3; commitid GRRONaQ4ik8dh1tF; 1.3 date 2024.09.09.10.41.47; author nia; state Exp; branches; next 1.2; commitid tgB0HMwXzQlWt7pF; 1.2 date 2024.08.31.08.42.04; author wiz; state Exp; branches; next 1.1; commitid lOhj0tXPOrhO6XnF; 1.1 date 2024.08.26.13.53.41; author ryoon; state Exp; branches; next ; commitid cZttMw7g2DtJZknF; desc @@ 1.11 log @*: recursive bump for icu 78.1 @ text @# $NetBSD: Makefile,v 1.10 2025/09/29 14:16:28 ryoon Exp $ MOZVER= 128.14.0esr DISTNAME= firefox-${MOZVER}.source PKGNAME= mozjs128-${MOZVER:S/esr//} PKGREVISION= 1 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_MOZILLA:=firefox/releases/${MOZVER}/source/} EXTRACT_SUFX= .tar.xz MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://spidermonkey.dev/ COMMENT= SpiderMonkey JavaScript library (128.x branch) LICENSE= mpl-1.1 WRKSRC= ${WRKDIR}/firefox-${PKGVERSION_NOREV} USE_TOOLS+= gm4 gmake perl pkg-config USE_LANGUAGES= c c++ # "ERROR: Only GCC 8.1 or newer is supported" GCC_REQD+= 8 TOOL_DEPENDS+= cbindgen>=0.26.0:../../devel/cbindgen CHECK_PORTABILITY_SKIP+= security/nss/tests/libpkix/libpkix.sh CHECK_PORTABILITY_SKIP+= security/nss/tests/multinit/multinit.sh CONFIGURE_DIRS= js/src/build BUILD_DIRS= js/src/build HAS_CONFIGURE= yes CONFIGURE_SCRIPT= ../configure CONFIGURE_ARGS+= --prefix=${PREFIX} CONFIGURE_ARGS+= --disable-debug CONFIGURE_ARGS+= --with-system-icu CONFIGURE_ARGS+= --with-system-zlib CONFIGURE_ARGS+= --enable-readline CONFIGURE_ARGS+= --disable-jemalloc CONFIGURE_ARGS+= --disable-debug-symbols CONFIGURE_ARGS+= --enable-strip CONFIGURE_ARGS+= --with-intl-api # --disable-optimize OVERRIDE_GNU_CONFIG_SCRIPTS= yes OVERRIDE_DIRDEPTH= 4 CPPFLAGS.SunOS+= -DSOLARIS # For rustc/cargo detection .include "../../mk/bsd.prefs.mk" # This is to work around build failures where an upstream configuration script # is confused by having more than one approximate match to MACHINE_GNU_PLATFORM # "i486" when attempting to select the Rust compiler target. .if ${MACHINE_PLATFORM:MNetBSD-*-i386} CONFIGURE_ARGS+= --target=i586-unknown-netbsd CONFIGURE_ARGS+= --host=i586-unknown-netbsd .elif ${MACHINE_PLATFORM:MSunOS-*} CONFIGURE_ARGS+= --target=x86_64-unknown-illumos CONFIGURE_ARGS+= --host=x86_64-unknown-illumos .else CONFIGURE_ARGS+= --target=${MACHINE_GNU_PLATFORM} CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM} .endif BUILDLINK_TRANSFORM.SunOS+= rm:-pie SUBST_CLASSES+= conf SUBST_STAGE.conf= pre-configure SUBST_MESSAGE.conf= Set variables in configuration file. SUBST_FILES.conf+= js/moz.configure SUBST_VARS.conf= PREFIX PKGCONFIG_OVERRIDE+= js/src/build/js.pc.in PKGCONFIG_OVERRIDE+= js/src/ctypes/libffi/libffi.pc.in PYTHON_VERSIONS_INCOMPATIBLE= 27 PYTHON_FOR_BUILD_ONLY= tool TEST_DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six TEST_TARGET= check-jstests post-install: cd ${DESTDIR}${PREFIX}/lib && \ ${MV} libmozjs-128.so libmozjs-128.so.0.0.0 && \ ${LN} -s libmozjs-128.so.0.0.0 libmozjs-128.so.0 && \ ${LN} -s libmozjs-128.so.0 libmozjs-128.so ${RM} -f ${DESTDIR}${PREFIX}/lib/libjs_static.ajs ${CHMOD} -x ${DESTDIR}${PREFIX}/include/mozjs-128/js-config.h ${CHMOD} -x ${DESTDIR}${PREFIX}/lib/pkgconfig/mozjs-128.pc .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" BUILDLINK_DEPMETHOD.clang= build .include "../../lang/clang/buildlink3.mk" RUST_REQ= 1.41.0 .include "../../lang/rust/rust.mk" .include "../../lang/python/batteries-included.mk" .include "../../lang/python/tool.mk" .include "../../textproc/icu/buildlink3.mk" .include "../../mk/readline.buildlink3.mk" # XXX This does not work entirely correctly at present. There are # 26 atomic type test failures on powerpc, where these pass on i386. .include "../../mk/atomic64.mk" .include "../../mk/bsd.pkg.mk" @ 1.10 log @lang/mozjs128: Update to 128.14.0 Changelog: Not available for SpiderMonkey. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2025/05/09 19:37:13 wiz Exp $ d6 1 @ 1.9 log @*: bump for llvm 19 (shlib major changed) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2025/04/17 21:51:20 wiz Exp $ d3 1 a3 1 MOZVER= 128.1.0esr a5 1 PKGREVISION= 5 @ 1.8 log @*: recursive bump for icu 77 and libxml2 2.14 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2024/11/14 22:20:28 wiz Exp $ d6 1 a6 1 PKGREVISION= 4 @ 1.7 log @*: recursive bump for icu 76 shlib major version bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2024/11/01 12:53:13 wiz Exp $ d6 1 a6 1 PKGREVISION= 3 @ 1.6 log @*: revbump for icu downgrade @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2024/11/01 00:52:26 wiz Exp $ d6 1 a6 1 PKGREVISION= 2 @ 1.5 log @*: recursive bump for icu 76.1 shlib bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2024/10/09 19:00:32 wiz Exp $ d6 1 a6 1 PKGREVISION= 1 @ 1.4 log @mozjs128: add gm4 to tools To fix: Autoconf requires GNU m4. during configure @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2024/09/09 10:41:47 nia Exp $ d6 1 @ 1.3 log @mozjs128: Depend on cbindgen like main Firefox package. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2024/08/31 08:42:04 wiz Exp $ d16 1 a16 1 USE_TOOLS+= gmake perl pkg-config @ 1.2 log @mozjs128: requires gcc 8 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2024/08/26 13:53:41 ryoon Exp $ d22 2 @ 1.1 log @lang/mozjs128: import mozjs128-128.1.0 This directory contains SpiderMonkey 128, the JavaScript engine by Mozilla. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2024/06/10 12:22:09 jperkin Exp $ d19 2 a20 2 # "ERROR: Only GCC 7.1 or newer is supported" GCC_REQD+= 7 @