[crux-commits] ports/opt (3.6): spidermonkey: force build with gcc, new dependency python3

crux at crux.nu crux at crux.nu
Sat Aug 15 15:02:42 UTC 2020


commit adba21afcb534355a555ddac3b51af162ce0da18
Author: Juergen Daubert <jue at jue.li>
Date:   Fri Aug 14 13:00:53 2020 +0200

    spidermonkey: force build with gcc, new dependency python3

diff --git a/spidermonkey/.signature b/spidermonkey/.signature
index 8414b6bc4..b82ecb7a5 100644
--- a/spidermonkey/.signature
+++ b/spidermonkey/.signature
@@ -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
diff --git a/spidermonkey/Pkgfile b/spidermonkey/Pkgfile
index 6e5e638f5..52c5451a6 100644
--- a/spidermonkey/Pkgfile
+++ b/spidermonkey/Pkgfile
@@ -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 \


More information about the crux-commits mailing list