1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Standalone JS interpreter from Mozilla 115-esr
8 HOMEPAGE= https://spidermonkey.dev
9 CONTACT= Michael_Reim[kraileth@elderlinux.org]
12 SITES[main]= MOZILLA/firefox/releases/115.10.0esr/source
13 DISTFILE[1]= firefox-115.10.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 python:v11,build zlib readline
35 DISTNAME= firefox-115.10.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
44 FPC_EQUIVALENT= lang/spidermonkey78
47 CONFIGURE_OUTSOURCE= yes
48 CONFIGURE_ARGS= --prefix={{PREFIX}}
49 --target={{CONFIGURE_TARGET}}
51 --disable-debug-symbols
64 PLIST_SUB= MOZJS_MAJOR=115
67 VAR_OPSYS[linux]= MAKEFILE_LINE=CONFIGURE_TARGET=x86_64-ravenadm-linux-gnu
68 VAR_OPSYS[midnightbsd]= MAKEFILE_LINE=CONFIGURE_TARGET=x86_64-raven-freebsd12.3
71 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/js115
72 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmozjs-115.so
75 ${REINPLACE_CMD} -e "s|%%MBSD64_TGT%%|x86_64-raven-freebsd12.3|" \
76 ${WRKSRC}/../../build/autoconf/config.guess
77 # don't allow linking with ssp
78 ${REINPLACE_CMD} '/protector-strong/d' \
79 ${WRKSRC}/../../build/moz.configure/toolchain.configure
81 [FILE:126:descriptions/desc.primary]
82 SpiderMonkey is Mozilla's JavaScript engine written in C and C++. It is
83 used in various Mozilla products, including Firefox.
87 0afd3c733d95f7047f258d1a9768d06d856217fe736d85bfb370db9dd926eef2 507826764 firefox-115.10.0esr.source.tar.xz
90 [FILE:102:manifests/plist.primary]
93 js%%MOZJS_MAJOR%%-config
96 libmozjs-%%MOZJS_MAJOR%%.so
99 [FILE:6028:manifests/plist.dev]
100 include/mozjs-%%MOZJS_MAJOR%%/
102 BaseProfilingCategory.h
115 include/mozjs-%%MOZJS_MAJOR%%/double-conversion/
120 include/mozjs-%%MOZJS_MAJOR%%/function2/function2.hpp
121 include/mozjs-%%MOZJS_MAJOR%%/js/
124 AllocationRecording.h
127 ArrayBufferMaybeShared.h
132 CallNonGenericMethod.h
135 ComparisonOperators.h
136 CompilationAndEvaluation.h
171 OffThreadScriptCompilation.h
176 ProfilingCategoryList.h
177 ProfilingFrameIterator.h
196 ShadowRealmCallbacks.h
213 UbiNodeBreadthFirst.h
215 UbiNodeDominatorTree.h
217 UbiNodeShortestPaths.h
233 include/mozjs-%%MOZJS_MAJOR%%/js/experimental/
243 include/mozjs-%%MOZJS_MAJOR%%/js/friend/
254 include/mozjs-%%MOZJS_MAJOR%%/js/shadow/
262 include/mozjs-%%MOZJS_MAJOR%%/mozilla/
275 BaseAndGeckoProfilerDetail.h
276 BaseProfileJSONWriter.h
280 BaseProfilerMarkerTypes.h
281 BaseProfilerMarkers.h
282 BaseProfilerMarkersDetail.h
283 BaseProfilerMarkersPrerequisites.h
284 BaseProfilerRAIIMacro.h
322 IntegerPrintfMacros.h
345 OperatorNewExtensions.h
348 PlatformConditionVariable.h
356 ProfileBufferChunkManager.h
357 ProfileBufferChunkManagerSingle.h
358 ProfileBufferChunkManagerWithLocalLimit.h
359 ProfileBufferControlledChunkManager.h
360 ProfileBufferEntryKinds.h
361 ProfileBufferEntrySerialization.h
363 ProfileChunkedBuffer.h
364 ProfileChunkedBufferDetail.h
394 StaticAnalysisFunctions.h
395 TaggedAnonymousMemory.h
407 UniquePtrExtensions.h
422 include/mozjs-%%MOZJS_MAJOR%%/mozilla/glue/
425 include/mozjs-%%MOZJS_MAJOR%%/mozilla/intl/
435 DateTimePatternGenerator.h
445 LocaleCanonicalizer.h
447 MeasureUnitGenerated.h
459 lib/pkgconfig/mozjs-%%MOZJS_MAJOR%%.pc
462 [FILE:414:patches/patch-build_autoconf_config.guess]
463 --- ../../build/autoconf/config.guess.orig 2024-04-08 18:42:30 UTC
464 +++ ../../build/autoconf/config.guess
465 @@ -284,7 +284,7 @@ case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME
466 GUESS=$UNAME_MACHINE_ARCH-unknown-libertybsd$UNAME_RELEASE
469 - GUESS=$UNAME_MACHINE-unknown-midnightbsd$UNAME_RELEASE
470 + GUESS=%%MBSD64_TGT%%
473 GUESS=$UNAME_MACHINE-unknown-ekkobsd$UNAME_RELEASE
476 [FILE:553:patches/patch-build_moz.configure_init.configure]
477 --- ../../build/moz.configure/init.configure.orig 2024-04-08 18:42:30 UTC
478 +++ ../../build/moz.configure/init.configure
479 @@ -545,8 +545,8 @@ def split_triplet(triplet, allow_wasi=Fa
480 if cpu.endswith("86") or (cpu.startswith("i") and "86" in cpu):
481 canonical_cpu = "x86"
482 endianness = "little"
483 - elif cpu in ("x86_64", "ia64"):
484 - canonical_cpu = cpu
485 + elif cpu in ("x86_64", "ia64", "amd64"):
486 + canonical_cpu = "x86_64"
487 endianness = "little"
488 elif cpu in ("s390", "s390x"):
492 [FILE:480:patches/patch-testing_mozbase_mozinfo_mozinfo_mozinfo.py]
493 --- ../../testing/mozbase/mozinfo/mozinfo/mozinfo.py.orig 2024-04-08 18:42:40 UTC
494 +++ ../../testing/mozbase/mozinfo/mozinfo/mozinfo.py
495 @@ -137,7 +137,7 @@ elif system == "Linux":
498 info["linux_distro"] = distribution
499 -elif system in ["DragonFly", "FreeBSD", "NetBSD", "OpenBSD"]:
500 +elif system in ["DragonFly", "FreeBSD", "NetBSD", "OpenBSD", "MidnightBSD"]:
502 version = os_version = sys.platform
503 elif system == "Darwin":