spidermonkey: force build with gcc, new dependency python3

This commit is contained in:
Juergen Daubert 2020-08-14 13:00:53 +02:00
parent c3e83d7398
commit adba21afcb
2 changed files with 11 additions and 4 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/XkSTIhxYpu/c2uCVVUNadcorbHgmdiNUw6RCcH3DQAwwxHlXV9b/105+4fEOuPxHQKFhkQ8uTeawSLj1zqRiQU=
SHA256 (Pkgfile) = a526534db30a062445227c5bb8c7e5d105ac9318a53a865da79ea27361a55ae3
RWSE3ohX2g5d/Y6AEZ5bbdKSeSPDP5xncfAa/ZPYmmSRvwQwPMkEYXdDO/JWGCnsC0fhhwe/HqAgeplDS24SY97ZzF5p2AHings=
SHA256 (Pkgfile) = 67f144b29097b9a8dab22ae7d6b2f63180228ad3f3ad4dd414c5040ec7380c6a
SHA256 (.footprint) = 8297463ccb4a3c908f13d2260cb920bf08e46e4d71161ed5a25e8acaf5485310
SHA256 (firefox-68.11.0esr.source.tar.xz) = 91c1f7caaf1ba785b74799865227456bf784ba614d17cf5f0f41a5f25d6d2160

View File

@ -1,21 +1,28 @@
# Description: Javascript engine library
# URL: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on: autoconf-2.13 readline zlib nspr python
# Depends on: autoconf-2.13 readline zlib nspr python python3
name=spidermonkey
version=68.11.0
release=1
release=2
source=(https://archive.mozilla.org/pub/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz)
build() {
cd firefox-$version
# http://www.linuxfromscratch.org/blfs/view/svn/general/js68.html
sed '21,+4d' -i js/moz.configure
mkdir obj ; cd obj
export CC=gcc CXX=g++
export LLVM_OBJDUMP=/bin/false
../js/src/configure \
--prefix=/usr \
--disable-jemalloc \
--disable-debug-symbols \
--disable-optimize \
--enable-readline \
--with-intl-api \