1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Standalone JS interpreter from Mozilla 102-esr
8 HOMEPAGE= https://spidermonkey.dev
9 CONTACT= Michael_Reim[kraileth@elderlinux.org]
12 SITES[main]= MOZILLA/firefox/releases/102.14.0esr/source
13 DISTFILE[1]= firefox-102.14.0esr.source.tar.xz:main
15 SPKGS[standard]= complete
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 BUILD_DEPENDS= zip:single:standard
27 BUILDRUN_DEPENDS= icu:primary:standard
30 EXRUN[dev]= nspr:dev:standard
32 USES= gmake perl pkgconfig zlib readline clang:keepcc
35 DISTNAME= firefox-102.14.0/js/src
38 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
39 LICENSE_FILE= MPL:stock
40 LICENSE_AWK= TERMS:"^$$"
41 LICENSE_SOURCE= TERMS:{{WRKSRC}}/js-config.h.in
45 CONFIGURE_OUTSOURCE= yes
46 CONFIGURE_ARGS= --prefix={{PREFIX}}
47 --target={{CONFIGURE_TARGET}}
49 --disable-debug-symbols
62 PLIST_SUB= MOZJS_MAJOR=102
65 VAR_OPSYS[linux]= MAKEFILE_LINE=CONFIGURE_TARGET=x86_64-ravenadm-linux-gnu
66 VAR_OPSYS[midnightbsd]= MAKEFILE_LINE=CONFIGURE_TARGET=x86_64-raven-freebsd12.3
69 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/js102
70 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmozjs-102.so
73 (cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
74 M4=m4 AWK=awk AC_MACRODIR=${WRKSRC}/../../build/autoconf/ \
75 ${SH} ${WRKSRC}/../../build/autoconf/autoconf.sh \
76 --localdir=${WRKSRC}/../../js/src configure.in > configure)
77 ${CHMOD} 755 ${WRKSRC}/configure
78 ${REINPLACE_CMD} -e "s|%%MBSD64_TGT%%|x86_64-raven-freebsd12.3|" \
79 ${WRKSRC}/../../build/autoconf/config.guess
80 # don't allow linking with ssp
81 ${REINPLACE_CMD} '/protector-strong/d' \
82 ${WRKSRC}/../../build/moz.configure/toolchain.configure
84 [FILE:126:descriptions/desc.primary]
85 SpiderMonkey is Mozilla's JavaScript engine written in C and C++. It is
86 used in various Mozilla products, including Firefox.
90 1ab85081c08a472cfd869873dba0e76ae6d9e83c1b8f23741e4c9d5471a5efee 479449456 firefox-102.14.0esr.source.tar.xz
93 [FILE:102:manifests/plist.primary]
96 js%%MOZJS_MAJOR%%-config
99 libmozjs-%%MOZJS_MAJOR%%.so
102 [FILE:5858:manifests/plist.dev]
103 include/mozjs-%%MOZJS_MAJOR%%/
105 BaseProfilingCategory.h
117 include/mozjs-%%MOZJS_MAJOR%%/double-conversion/
122 include/mozjs-%%MOZJS_MAJOR%%/js/
125 AllocationRecording.h
128 ArrayBufferMaybeShared.h
133 CallNonGenericMethod.h
136 ComparisonOperators.h
137 CompilationAndEvaluation.h
171 OffThreadScriptCompilation.h
175 ProfilingCategoryList.h
176 ProfilingFrameIterator.h
213 UbiNodeBreadthFirst.h
215 UbiNodeDominatorTree.h
217 UbiNodeShortestPaths.h
233 include/mozjs-%%MOZJS_MAJOR%%/js/experimental/
242 include/mozjs-%%MOZJS_MAJOR%%/js/friend/
253 include/mozjs-%%MOZJS_MAJOR%%/js/shadow/
261 include/mozjs-%%MOZJS_MAJOR%%/mozilla/
274 BaseAndGeckoProfilerDetail.h
275 BaseProfileJSONWriter.h
279 BaseProfilerMarkerTypes.h
280 BaseProfilerMarkers.h
281 BaseProfilerMarkersDetail.h
282 BaseProfilerMarkersPrerequisites.h
283 BaseProfilerRAIIMacro.h
320 IntegerPrintfMacros.h
341 OperatorNewExtensions.h
344 PlatformConditionVariable.h
352 ProfileBufferChunkManager.h
353 ProfileBufferChunkManagerSingle.h
354 ProfileBufferChunkManagerWithLocalLimit.h
355 ProfileBufferControlledChunkManager.h
356 ProfileBufferEntryKinds.h
357 ProfileBufferEntrySerialization.h
359 ProfileChunkedBuffer.h
360 ProfileChunkedBufferDetail.h
388 StaticAnalysisFunctions.h
389 TaggedAnonymousMemory.h
403 UniquePtrExtensions.h
418 include/mozjs-%%MOZJS_MAJOR%%/mozilla/glue/
421 include/mozjs-%%MOZJS_MAJOR%%/mozilla/intl/
431 DateTimePatternGenerator.h
440 LocaleCanonicalizer.h
442 MeasureUnitGenerated.h
454 lib/pkgconfig/mozjs-%%MOZJS_MAJOR%%.pc
457 [FILE:414:patches/patch-build_autoconf_config.guess]
458 --- ../../build/autoconf/config.guess.orig 2023-07-24 16:50:06 UTC
459 +++ ../../build/autoconf/config.guess
460 @@ -284,7 +284,7 @@ case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME
461 GUESS=$UNAME_MACHINE_ARCH-unknown-libertybsd$UNAME_RELEASE
464 - GUESS=$UNAME_MACHINE-unknown-midnightbsd$UNAME_RELEASE
465 + GUESS=%%MBSD64_TGT%%
468 GUESS=$UNAME_MACHINE-unknown-ekkobsd$UNAME_RELEASE
471 [FILE:553:patches/patch-build_moz.configure_init.configure]
472 --- ../../build/moz.configure/init.configure.orig 2023-07-24 16:50:06 UTC
473 +++ ../../build/moz.configure/init.configure
474 @@ -485,8 +485,8 @@ def split_triplet(triplet, allow_msvc=Fa
475 if cpu.endswith("86") or (cpu.startswith("i") and "86" in cpu):
476 canonical_cpu = "x86"
477 endianness = "little"
478 - elif cpu in ("x86_64", "ia64"):
479 - canonical_cpu = cpu
480 + elif cpu in ("x86_64", "ia64", "amd64"):
481 + canonical_cpu = "x86_64"
482 endianness = "little"
483 elif cpu in ("s390", "s390x"):
487 [FILE:480:patches/patch-testing_mozbase_mozinfo_mozinfo_mozinfo.py]
488 --- ../../testing/mozbase/mozinfo/mozinfo/mozinfo.py.orig 2023-07-24 16:50:15 UTC
489 +++ ../../testing/mozbase/mozinfo/mozinfo/mozinfo.py
490 @@ -133,7 +133,7 @@ elif system == "Linux":
493 info["linux_distro"] = distribution
494 -elif system in ["DragonFly", "FreeBSD", "NetBSD", "OpenBSD"]:
495 +elif system in ["DragonFly", "FreeBSD", "NetBSD", "OpenBSD", "MidnightBSD"]:
497 version = os_version = sys.platform
498 elif system == "Darwin":