# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= mozjs140 VERSION= 140.2.0 KEYWORDS= lang VARIANTS= std SDESC[std]= Standalone JS interpreter from Mozilla 140-esr HOMEPAGE= https://spidermonkey.dev CONTACT= Michael_Reim[kraileth@elderlinux.org] DOWNLOAD_GROUPS= main SITES[main]= MOZILLA/firefox/releases/140.2.0esr/source DISTFILE[1]= firefox-140.2.0esr.source.tar.xz:main DF_INDEX= 1 SPKGS[std]= set primary dev OPTIONS_AVAILABLE= SYSICU OPTIONS_STANDARD= SYSICU BUILD_DEPENDS= zip:primary:std rust:single:std llvm:tools:std nspr:dev:std cbindgen:single:std BUILDRUN_DEPENDS= nspr:primary:std EXRUN[dev]= nspr:dev:std USES= gmake perl pkgconfig zlib readline clang:keepcc python:build DISTNAME= firefox-140.2.0/js/src LICENSE= MPL:primary LICENSE_TERMS= primary:{{WRKDIR}}/TERMS LICENSE_FILE= MPL:stock LICENSE_AWK= TERMS:"^$$" LICENSE_SOURCE= TERMS:{{WRKSRC}}/js-config.h.in LICENSE_SCHEME= solo MUST_CONFIGURE= yes CONFIGURE_OUTSOURCE= yes CONFIGURE_ARGS= --prefix={{PREFIX}} --target={{CONFIGURE_TARGET}} --disable-debug --disable-debug-symbols --disable-jemalloc --enable-readline --enable-release --enable-shared-js --enable-tests --enable-optimize --enable-gczeal --with-intl-api --with-system-nspr --with-system-zlib CONFIGURE_ENV= BINDGEN_CFLAGS="-I{{LOCALBASE}}/include" PLIST_SUB= MOZJS_MAJOR=140 MOZJS_MINOR=0 VAR_OPSYS[linux]= MAKEFILE_LINE=CONFIGURE_TARGET=x86_64-ravenadm-linux-gnu VAR_OPSYS[midnightbsd]= MAKEFILE_LINE=CONFIGURE_TARGET=x86_64-raven-freebsd12.3 [SYSICU].DESCRIPTION= Build with external ICU package [SYSICU].BUILDRUN_DEPENDS_ON= icu:primary:std icu:data:std [SYSICU].BUILD_DEPENDS_ON= icu:dev:std [SYSICU].CONFIGURE_ARGS_ON= --with-system-icu [SYSICU].USES_OFF= c++:primary pre-configure: ${CHMOD} 755 ${WRKSRC}/configure ${REINPLACE_CMD} -e "s|%%MBSD64_TGT%%|x86_64-raven-freebsd12.3|" \ ${WRKSRC}/../../build/autoconf/config.guess # don't allow linking with ssp ${REINPLACE_CMD} '/protector-strong/d' \ ${WRKSRC}/../../build/moz.configure/toolchain.configure do-install: # Makefile lost track of where targets are. ${INSTALL_DATA} ${BUILD_WRKSRC}/js/src/build/js.pc \ ${STAGEDIR}${PREFIX}/lib/pkgconfig/mozjs-140.pc (cd ${BUILD_WRKSRC}/dist/include && ${FIND} * -type d) |\ ${XARGS} -I {} ${MKDIR} ${STAGEDIR}${PREFIX}/include/mozjs-140/{} (cd ${BUILD_WRKSRC}/dist/include && ${FIND} * -type l) | ${XARGS} -I {} \ ${INSTALL_DATA} ${BUILD_WRKSRC}/dist/include/{} \ ${STAGEDIR}${PREFIX}/include/mozjs-140/{} ${INSTALL_SCRIPT} ${BUILD_WRKSRC}/js/src/build/js-config \ ${STAGEDIR}${PREFIX}/bin/js140-config ${INSTALL_DATA} ${BUILD_WRKSRC}/js/src/build/libjs_static.a \ ${STAGEDIR}${PREFIX}/lib/libjs_static.ajs ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/dist/bin/js \ ${STAGEDIR}${PREFIX}/bin/js140 ${INSTALL_LIB} ${BUILD_WRKSRC}/dist/bin/libmozjs-140.so \ ${STAGEDIR}${PREFIX}/lib/ [FILE:126:descriptions/desc.primary] SpiderMonkey is Mozilla's JavaScript engine written in C and C++. It is used in various Mozilla products, including Firefox. [FILE:111:distinfo] 956dce675c3b706d563caf07ed3ca9af632ab830be710dfd4351da78a0a2ef55 631022940 firefox-140.2.0esr.source.tar.xz [FILE:82:manifests/plist.primary] bin/ js%%MOZJS_MAJOR%% js%%MOZJS_MAJOR%%-config lib/libmozjs-%%MOZJS_MAJOR%%.so [FILE:9328:manifests/plist.dev] %%SYSICU-OFF%%include/mozjs-%%MOZJS_MAJOR%%/unicode/ alphaindex.h appendable.h basictz.h brkiter.h bytestream.h bytestrie.h bytestriebuilder.h calendar.h caniter.h casemap.h char16ptr.h chariter.h choicfmt.h coleitr.h coll.h compactdecimalformat.h curramt.h currpinf.h currunit.h datefmt.h dbbi.h dcfmtsym.h decimfmt.h displayoptions.h docmain.h dtfmtsym.h dtintrv.h dtitvfmt.h dtitvinf.h dtptngen.h dtrule.h edits.h enumset.h errorcode.h fieldpos.h filteredbrk.h fmtable.h format.h formattednumber.h formattedvalue.h fpositer.h gender.h gregocal.h icudataver.h icuplug.h idna.h listformatter.h localebuilder.h localematcher.h localpointer.h locdspnm.h locid.h measfmt.h measunit.h measure.h messagepattern.h msgfmt.h normalizer2.h normlzr.h nounit.h numberformatter.h numberrangeformatter.h numfmt.h numsys.h parseerr.h parsepos.h platform.h plurfmt.h plurrule.h ptypes.h putil.h rbbi.h rbnf.h rbtz.h regex.h region.h reldatefmt.h rep.h resbund.h schriter.h scientificnumberformatter.h search.h selfmt.h simpleformatter.h simplenumberformatter.h simpletz.h smpdtfmt.h sortkey.h std_string.h strenum.h stringoptions.h stringpiece.h stringtriebuilder.h stsearch.h symtable.h tblcoll.h timezone.h tmunit.h tmutamt.h tmutfmt.h translit.h tzfmt.h tznames.h tzrule.h tztrans.h ubidi.h ubiditransform.h ubrk.h ucal.h ucasemap.h ucat.h uchar.h ucharstrie.h ucharstriebuilder.h uchriter.h uclean.h ucnv.h ucnv_cb.h ucnv_err.h ucnvsel.h ucol.h ucoleitr.h uconfig.h ucpmap.h ucptrie.h ucsdet.h ucurr.h udat.h udata.h udateintervalformat.h udatpg.h udisplaycontext.h udisplayoptions.h uenum.h ufieldpositer.h uformattable.h uformattednumber.h uformattedvalue.h ugender.h uidna.h uiter.h uldnames.h ulistformatter.h uloc.h ulocdata.h umachine.h umisc.h umsg.h umutablecptrie.h unifilt.h unifunct.h unimatch.h unirepl.h uniset.h unistr.h unorm.h unorm2.h unum.h unumberformatter.h unumberoptions.h unumberrangeformatter.h unumsys.h uobject.h upluralrules.h uregex.h uregion.h ureldatefmt.h urename.h urep.h ures.h uscript.h usearch.h uset.h usetiter.h ushape.h usimplenumberformatter.h uspoof.h usprep.h ustring.h ustringtrie.h utext.h utf.h utf16.h utf32.h utf8.h utf_old.h utmscale.h utrace.h utrans.h utypes.h uvernum.h uversion.h vtzone.h include/mozjs-%%MOZJS_MAJOR%%/ BaseProfiler.h BaseProfilingCategory.h PHC.h ProfilingCategoryList.h SharedLibraries.h encoding_rs_mem.h fdlibm.h js-config.h jsapi.h jsfriendapi.h jspubtd.h jstypes.h malloc_decls.h mozjemalloc_types.h mozmemory.h mozmemory_utils.h mozmemory_wrap.h include/mozjs-%%MOZJS_MAJOR%%/double-conversion/ double-conversion.h double-to-string.h string-to-double.h utils.h include/mozjs-%%MOZJS_MAJOR%%/fmt/ args.h base.h chrono.h color.h format-inl.h format.h ostream.h ranges.h xchar.h include/mozjs-%%MOZJS_MAJOR%%/function2/function2.hpp include/mozjs-%%MOZJS_MAJOR%%/js/ AllocPolicy.h AllocationLogging.h AllocationRecording.h Array.h ArrayBuffer.h ArrayBufferMaybeShared.h BigInt.h BuildId.h CallAndConstruct.h CallArgs.h CallNonGenericMethod.h CharacterEncoding.h Class.h ColumnNumber.h ComparisonOperators.h CompilationAndEvaluation.h CompileOptions.h Context.h ContextOptions.h Conversions.h Date.h Debug.h EnvironmentChain.h Equality.h ErrorInterceptor.h ErrorReport.h Exception.h ForOfIterator.h GCAPI.h GCAnnotations.h GCHashTable.h GCPolicyAPI.h GCTypeMacros.h GCVariant.h GCVector.h GlobalObject.h HashTable.h HeapAPI.h HelperThreadAPI.h Id.h Initialization.h Interrupt.h Iterator.h JSON.h LocaleSensitive.h MapAndSet.h MemoryCallbacks.h MemoryFunctions.h MemoryMetrics.h Modules.h NativeStackLimits.h Object.h ObjectWithStashedPointer.h Prefs.h PrefsGenerated.h Principals.h Printer.h Printf.h ProfilingCategory.h ProfilingCategoryList.h ProfilingFrameIterator.h ProfilingStack.h Promise.h PropertyAndElement.h PropertyDescriptor.h PropertySpec.h ProtoKey.h Proxy.h Realm.h RealmIterators.h RealmOptions.h RefCounted.h RegExp.h RegExpFlags.h Result.h RootingAPI.h SavedFrameAPI.h ScalarType.h ScriptPrivate.h ShadowRealmCallbacks.h SharedArrayBuffer.h SliceBudget.h SourceText.h StableStringChars.h Stack.h StreamConsumer.h String.h StructuredClone.h SweepingAPI.h Symbol.h TelemetryTimers.h TraceKind.h TracingAPI.h Transcoding.h TypeDecls.h UbiNode.h UbiNodeBreadthFirst.h UbiNodeCensus.h UbiNodeDominatorTree.h UbiNodePostOrder.h UbiNodeShortestPaths.h UbiNodeUtils.h UniquePtr.h Utility.h Value.h ValueArray.h Vector.h WaitCallbacks.h Warnings.h WasmFeatures.h WasmModule.h WeakMap.h WeakMapPtr.h Wrapper.h WrapperCallbacks.h Zone.h include/mozjs-%%MOZJS_MAJOR%%/js/experimental/ BindingAllocs.h CTypes.h CodeCoverage.h CompileScript.h Intl.h JSStencil.h JitInfo.h LoggingInterface.h PCCountProfiling.h SourceHook.h TypedData.h include/mozjs-%%MOZJS_MAJOR%%/js/friend/ DOMProxy.h DumpFunctions.h ErrorMessages.h ErrorNumbers.msg JSMEnvironment.h PerformanceHint.h StackLimits.h UsageStatistics.h WindowProxy.h XrayJitInfo.h include/mozjs-%%MOZJS_MAJOR%%/js/shadow/ Function.h Object.h Realm.h Shape.h String.h Symbol.h Zone.h include/mozjs-%%MOZJS_MAJOR%%/mozilla/ Algorithm.h Alignment.h AllocPolicy.h AlreadyAddRefed.h Array.h ArrayUtils.h Assertions.h AtomicBitfields.h Atomics.h Attributes.h AutoProfilerLabel.h AwakeTimeStamp.h BaseAndGeckoProfilerDetail.h BaseProfileJSONWriter.h BaseProfilerCounts.h BaseProfilerDetail.h BaseProfilerLabels.h BaseProfilerMarkerTypes.h BaseProfilerMarkers.h BaseProfilerMarkersDetail.h BaseProfilerMarkersPrerequisites.h BaseProfilerRAIIMacro.h BaseProfilerState.h BaseProfilerUtils.h BinarySearch.h BitSet.h BloomFilter.h Buffer.h BufferList.h Casting.h ChaosMode.h Char16.h CheckedInt.h CompactPair.h Compiler.h Compression.h DbgMacro.h DebugOnly.h Decimal.h DefineEnum.h DoubleConversion.h DoublyLinkedList.h EndianUtils.h EnumSet.h EnumTypeTraits.h EnumeratedArray.h EnumeratedRange.h FStream.h FailureLatch.h FastBernoulliTrial.h FloatingPoint.h Flow.h FunctionRef.h FunctionTypeTraits.h Fuzzing.h HashFunctions.h HashTable.h HelperMacros.h InitializedOnce.h IntegerPrintfMacros.h IntegerRange.h IntegerTypeTraits.h JSONWriter.h JsRust.h Latin1.h Likely.h LinkedList.h Literals.h LoggingCore.h MPSCQueue.h MacroArgs.h MacroForEach.h MathAlgorithms.h Maybe.h MaybeOneOf.h MaybeStorageBase.h MemoryChecking.h MemoryReporting.h MmapFaultHandler.h ModuloBuffer.h MoveOnlyFunction.h MruCache.h NeverDestroyed.h NonDereferenceable.h NotNull.h Now.h Opaque.h OperatorNewExtensions.h PairHash.h Path.h PlatformConditionVariable.h PlatformMutex.h PlatformRWLock.h PodOperations.h Poison.h PowerOfTwo.h Printf.h ProfileBufferChunk.h ProfileBufferChunkManager.h ProfileBufferChunkManagerSingle.h ProfileBufferChunkManagerWithLocalLimit.h ProfileBufferControlledChunkManager.h ProfileBufferEntryKinds.h ProfileBufferEntrySerialization.h ProfileBufferIndex.h ProfileChunkedBuffer.h ProfileChunkedBufferDetail.h ProfilerBufferSize.h ProgressLogger.h ProportionValue.h RandomNum.h Range.h RangedArray.h RangedPtr.h ReentrancyGuard.h RefCountType.h RefCounted.h RefPtr.h Result.h ResultExtensions.h ResultVariant.h ReverseIterator.h RollingMean.h SHA1.h SIMD.h SPSCQueue.h SSE.h Saturate.h ScopeExit.h SegmentedVector.h SharedLibrary.h SmallPointerArray.h Span.h SplayTree.h Sprintf.h StackWalk.h StaticAnalysisFunctions.h StringBuffer.h TaggedAnonymousMemory.h Tainting.h TemplateLib.h TextUtils.h ThreadLocal.h ThreadSafeWeakPtr.h ThreadSafety.h TimeStamp.h ToString.h Try.h TypedEnumBits.h Types.h UniquePtr.h UniquePtrExtensions.h Unused.h Uptime.h Utf8.h Variant.h Vector.h WeakPtr.h WrappingOperations.h XorShift128PlusRNG.h cxxalloc.h fallible.h leb128iterator.h mozalloc.h mozalloc_abort.h mozalloc_oom.h include/mozjs-%%MOZJS_MAJOR%%/mozilla/glue/ Debug.h WinUtils.h include/mozjs-%%MOZJS_MAJOR%%/mozilla/intl/ Bidi.h BidiClass.h BidiEmbeddingLevel.h Calendar.h Collator.h Currency.h DateIntervalFormat.h DateTimeFormat.h DateTimePart.h DateTimePatternGenerator.h DisplayNames.h FormatBuffer.h GeneralCategory.h ICU4CGlue.h ICU4CLibrary.h ICU4XGeckoDataProvider.h ICUError.h ListFormat.h Locale.h LocaleCanonicalizer.h MeasureUnit.h MeasureUnitGenerated.h NumberFormat.h NumberParser.h NumberPart.h NumberRangeFormat.h NumberingSystem.h PluralRules.h RelativeTimeFormat.h String.h TimeZone.h UnicodeProperties.h UnicodeScriptCodes.h unicode_bidi_ffi_generated.h include/mozjs-%%MOZJS_MAJOR%%/mozilla/intl/calendar/ ICU4XCalendar.h ICU4XChineseBasedCalendar.h ICU4XChineseCalendar.h ICU4XDangiCalendar.h ICU4XUniquePtr.h ISODate.h MonthCode.h include/mozjs-%%MOZJS_MAJOR%%/unicode/ messageformat2.h messageformat2_arguments.h messageformat2_data_model.h messageformat2_data_model_names.h messageformat2_formattable.h messageformat2_function_registry.h ulocale.h ulocbuilder.h lib/libjs_static.ajs lib/pkgconfig/mozjs-%%MOZJS_MAJOR%%.pc [FILE:414:patches/patch-build_autoconf_config.guess] --- ../../build/autoconf/config.guess.orig 2025-08-11 17:31:44 UTC +++ ../../build/autoconf/config.guess @@ -290,7 +290,7 @@ case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME GUESS=$UNAME_MACHINE_ARCH-unknown-libertybsd$UNAME_RELEASE ;; *:MidnightBSD:*:*) - GUESS=$UNAME_MACHINE-unknown-midnightbsd$UNAME_RELEASE + GUESS=%%MBSD64_TGT%% ;; *:ekkoBSD:*:*) GUESS=$UNAME_MACHINE-unknown-ekkobsd$UNAME_RELEASE [FILE:553:patches/patch-build_moz.configure_init.configure] --- ../../build/moz.configure/init.configure.orig 2025-08-11 17:31:44 UTC +++ ../../build/moz.configure/init.configure @@ -523,8 +523,8 @@ def split_triplet(triplet, allow_wasi=Fa if cpu.endswith("86") or (cpu.startswith("i") and "86" in cpu): canonical_cpu = "x86" endianness = "little" - elif cpu in ("x86_64", "ia64"): - canonical_cpu = cpu + elif cpu in ("x86_64", "ia64", "amd64"): + canonical_cpu = "x86_64" endianness = "little" elif cpu in ("s390", "s390x"): canonical_cpu = cpu [FILE:500:patches/patch-testing_mozbase_mozinfo_mozinfo_mozinfo.py] --- ../../testing/mozbase/mozinfo/mozinfo/mozinfo.py.orig 2025-08-11 17:31:54 UTC +++ ../../testing/mozbase/mozinfo/mozinfo/mozinfo.py @@ -104,7 +104,7 @@ elif system == "Linux": info["os"] = "linux" info["linux_distro"] = distribution -elif system in ["DragonFly", "FreeBSD", "NetBSD", "OpenBSD"]: +elif system in ["DragonFly", "FreeBSD", "NetBSD", "OpenBSD", "MidnightBSD"]: info["os"] = "bsd" # community builds version = os_version = sys.platform elif system == "Darwin":