1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Standalone JS interpreter from Mozilla 60-esr
8 HOMEPAGE= https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey
9 CONTACT= Michael_Reim[kraileth@elderlinux.org]
12 SITES[main]= MOZILLA/firefox/releases/60.6.1esr/source
13 DISTFILE[1]= firefox-60.6.1esr.source.tar.xz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 BUILD_DEPENDS= autoconf213:single:standard
22 BUILDRUN_DEPENDS= icu:single:standard
25 USES= gmake perl pkgconfig python:py27,build zlib readline
27 DISTNAME= firefox-60.6.1/js/src
30 LICENSE_TERMS= single:{{WRKDIR}}/TERMS
31 LICENSE_FILE= MPL:stock
32 LICENSE_AWK= TERMS:"^$$"
33 LICENSE_SOURCE= TERMS:{{WRKSRC}}/js-config.h.in
37 CONFIGURE_OUTSOURCE= yes
38 CONFIGURE_ARGS= --disable-debug
39 --disable-debug-symbols
41 --disable-replace-malloc
52 PLIST_SUB= MOZJS_MAJOR=60
55 VAR_OPSYS[dragonfly]= CONFIGURE_ARGS=--disable-jemalloc
58 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/js60
59 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmozjs-60.so
61 [FILE:126:descriptions/desc.single]
62 SpiderMonkey is Mozilla's JavaScript engine written in C and C++. It is
63 used in various Mozilla products, including Firefox.
67 94037fdceb83785ef6748de196eae562d9fa83ab7ec858b07ed13c1f540a04f5 269197532 firefox-60.6.1esr.source.tar.xz
70 [FILE:2789:manifests/plist.single]
71 %%ONLY-LINUX%%include/mozjs-%%MOZJS_MAJOR%%/mozilla/LinuxSignal.h
74 js%%MOZJS_MAJOR%%-config
75 include/mozjs-%%MOZJS_MAJOR%%/
88 include/mozjs-%%MOZJS_MAJOR%%/double-conversion/
91 include/mozjs-%%MOZJS_MAJOR%%/js/
94 CallNonGenericMethod.h
113 ProfilingFrameIterator.h
128 TrackedOptimizationInfo.h
131 UbiNodeBreadthFirst.h
133 UbiNodeDominatorTree.h
135 UbiNodeShortestPaths.h
142 include/mozjs-%%MOZJS_MAJOR%%/mozilla/
176 IntegerPrintfMacros.h
193 OperatorNewExtensions.h
196 PlatformConditionVariable.h
222 StaticAnalysisFunctions.h
223 TaggedAnonymousMemory.h
235 UniquePtrExtensions.h
248 libmozjs-%%MOZJS_MAJOR%%.so
249 lib/pkgconfig/mozjs-%%MOZJS_MAJOR%%.pc
252 [FILE:553:patches/patch-build_moz.configure_init.configure]
253 --- ../../build/moz.configure/init.configure.orig 2019-03-22 05:01:00 UTC
254 +++ ../../build/moz.configure/init.configure
255 @@ -637,8 +637,8 @@ def split_triplet(triplet, allow_unknown
256 if cpu.endswith('86') or (cpu.startswith('i') and '86' in cpu):
257 canonical_cpu = 'x86'
258 endianness = 'little'
259 - elif cpu in ('x86_64', 'ia64'):
260 - canonical_cpu = cpu
261 + elif cpu in ('x86_64', 'ia64', 'amd64'):
262 + canonical_cpu = 'x86_64'
263 endianness = 'little'
264 elif cpu in ('s390', 's390x'):
268 [FILE:366:patches/patch-python_mach_mach_mixin_process.py]
269 --- ../../python/mach/mach/mixin/process.py.orig 2019-03-22 05:01:06 UTC
270 +++ ../../python/mach/mach/mixin/process.py
271 @@ -26,7 +26,7 @@ elif 'MOZILLABUILD' in os.environ:
272 elif 'COMSPEC' in os.environ:
273 _current_shell = os.environ['COMSPEC']
275 - raise Exception('Could not detect environment shell!')
276 + _current_shell = "/bin/sh"
282 [FILE:572:patches/patch-python_mozbuild_mozbuild_configure_____init____.py]
283 --- ../../python/mozbuild/mozbuild/configure/__init__.py.orig 2019-03-22 05:01:06 UTC
284 +++ ../../python/mozbuild/mozbuild/configure/__init__.py
285 @@ -421,7 +421,7 @@ class ConfigureSandbox(dict):
286 # All options should have been removed (handled) by now.
287 for arg in self._helper:
288 without_value = arg.split('=', 1)[0]
289 - raise InvalidOptionError('Unknown option: %s' % without_value)
290 + print('Ignoring', without_value, ': Unknown option')
292 # Run the execution queue
293 for func, args in self._execution_queue:
296 [FILE:659:patches/patch-python_mozbuild_mozbuild_configure_options.py]
297 --- ../../python/mozbuild/mozbuild/configure/options.py.orig 2019-03-22 05:01:06 UTC
298 +++ ../../python/mozbuild/mozbuild/configure/options.py
299 @@ -420,7 +420,11 @@ class CommandLineHelper(object):
301 def add(self, arg, origin='command-line', args=None):
302 assert origin != 'default'
303 - prefix, name, values = Option.split_option(arg)
305 + prefix, name, values = Option.split_option(arg)
306 + except InvalidOptionError as e:
307 + print('Ignoring', arg, ':', e)
310 args = self._extra_args
311 if args is self._extra_args and name in self._extra_args: