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.5.2esr/source
13 DISTFILE[1]= firefox-60.5.2esr.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.5.2/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
50 PLIST_SUB= MOZJS_MAJOR=60
53 VAR_OPSYS[dragonfly]= CONFIGURE_ARGS=--disable-jemalloc
56 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/js60
57 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmozjs-60.so
59 [FILE:126:descriptions/desc.single]
60 SpiderMonkey is Mozilla's JavaScript engine written in C and C++. It is
61 used in various Mozilla products, including Firefox.
65 b95585982225a5246b663298de2fed275179d9299c46790468c49b6eee08cea4 268056844 firefox-60.5.2esr.source.tar.xz
68 [FILE:2723:manifests/plist.single]
71 js%%MOZJS_MAJOR%%-config
72 include/mozjs-%%MOZJS_MAJOR%%/
85 include/mozjs-%%MOZJS_MAJOR%%/double-conversion/
88 include/mozjs-%%MOZJS_MAJOR%%/js/
91 CallNonGenericMethod.h
110 ProfilingFrameIterator.h
125 TrackedOptimizationInfo.h
128 UbiNodeBreadthFirst.h
130 UbiNodeDominatorTree.h
132 UbiNodeShortestPaths.h
139 include/mozjs-%%MOZJS_MAJOR%%/mozilla/
173 IntegerPrintfMacros.h
190 OperatorNewExtensions.h
193 PlatformConditionVariable.h
219 StaticAnalysisFunctions.h
220 TaggedAnonymousMemory.h
232 UniquePtrExtensions.h
245 libmozjs-%%MOZJS_MAJOR%%.so
246 lib/pkgconfig/mozjs-%%MOZJS_MAJOR%%.pc
249 [FILE:553:patches/patch-build_moz.configure_init.configure]
250 --- ../../build/moz.configure/init.configure.orig 2019-02-21 19:22:41 UTC
251 +++ ../../build/moz.configure/init.configure
252 @@ -637,8 +637,8 @@ def split_triplet(triplet, allow_unknown
253 if cpu.endswith('86') or (cpu.startswith('i') and '86' in cpu):
254 canonical_cpu = 'x86'
255 endianness = 'little'
256 - elif cpu in ('x86_64', 'ia64'):
257 - canonical_cpu = cpu
258 + elif cpu in ('x86_64', 'ia64', 'amd64'):
259 + canonical_cpu = 'x86_64'
260 endianness = 'little'
261 elif cpu in ('s390', 's390x'):
265 [FILE:366:patches/patch-python_mach_mach_mixin_process.py]
266 --- ../../python/mach/mach/mixin/process.py.orig 2019-02-21 19:22:50 UTC
267 +++ ../../python/mach/mach/mixin/process.py
268 @@ -26,7 +26,7 @@ elif 'MOZILLABUILD' in os.environ:
269 elif 'COMSPEC' in os.environ:
270 _current_shell = os.environ['COMSPEC']
272 - raise Exception('Could not detect environment shell!')
273 + _current_shell = "/bin/sh"
279 [FILE:572:patches/patch-python_mozbuild_mozbuild_configure_____init____.py]
280 --- ../../python/mozbuild/mozbuild/configure/__init__.py.orig 2019-02-21 19:22:50 UTC
281 +++ ../../python/mozbuild/mozbuild/configure/__init__.py
282 @@ -421,7 +421,7 @@ class ConfigureSandbox(dict):
283 # All options should have been removed (handled) by now.
284 for arg in self._helper:
285 without_value = arg.split('=', 1)[0]
286 - raise InvalidOptionError('Unknown option: %s' % without_value)
287 + print('Ignoring', without_value, ': Unknown option')
289 # Run the execution queue
290 for func, args in self._execution_queue:
293 [FILE:659:patches/patch-python_mozbuild_mozbuild_configure_options.py]
294 --- ../../python/mozbuild/mozbuild/configure/options.py.orig 2019-02-21 19:22:51 UTC
295 +++ ../../python/mozbuild/mozbuild/configure/options.py
296 @@ -420,7 +420,11 @@ class CommandLineHelper(object):
298 def add(self, arg, origin='command-line', args=None):
299 assert origin != 'default'
300 - prefix, name, values = Option.split_option(arg)
302 + prefix, name, values = Option.split_option(arg)
303 + except InvalidOptionError as e:
304 + print('Ignoring', arg, ':', e)
307 args = self._extra_args
308 if args is self._extra_args and name in self._extra_args: