pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/spidermonkey52



Module Name:    pkgsrc
Committed By:   leot
Date:           Fri May 24 18:15:38 UTC 2019

Modified Files:
        pkgsrc/lang/spidermonkey52: Makefile distinfo
        pkgsrc/lang/spidermonkey52/patches: patch-js_src_old-configure_in

Log Message:
spidermonkey52: Do not build with debug symbols and strip

configure forced to pass `-g' to CFLAGS and did not strip resulting binaries and
libraries. Pass `--disable-debug-symbols' and `--enable-strip' to respectively
address that.
Fix PR pkg/54228 reported by matt farnsworth.

While here, avoid to pass `-Wl,-z,wxneeded' to LDFLAGS on NetBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/spidermonkey52/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/spidermonkey52/distinfo
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/lang/spidermonkey52/patches/patch-js_src_old-configure_in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/spidermonkey52/Makefile
diff -u pkgsrc/lang/spidermonkey52/Makefile:1.15 pkgsrc/lang/spidermonkey52/Makefile:1.16
--- pkgsrc/lang/spidermonkey52/Makefile:1.15    Thu Apr 25 07:33:03 2019
+++ pkgsrc/lang/spidermonkey52/Makefile Fri May 24 18:15:38 2019
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2019/04/25 07:33:03 maya Exp $
+# $NetBSD: Makefile,v 1.16 2019/05/24 18:15:38 leot Exp $
 
 DISTNAME=      mozjs-52.7.4
-PKGREVISION=   8
+PKGREVISION=   9
 PKGNAME=       ${DISTNAME:S/mozjs/spidermonkey52/}
 CATEGORIES=    lang
 MASTER_SITES=  https://queue.taskcluster.net/v1/task/YqG2fjJJSTGzGX090FjDYg/runs/0/artifacts/public/build/
@@ -24,6 +24,8 @@ CONFIGURE_ARGS+=      --with-system-nspr
 CONFIGURE_ARGS+=       --with-system-zlib
 CONFIGURE_ARGS+=       --with-pthreads
 CONFIGURE_ARGS+=       --disable-jemalloc
+CONFIGURE_ARGS+=       --disable-debug-symbols
+CONFIGURE_ARGS+=       --enable-strip
 
 CONFIGURE_DIRS=                js/src
 

Index: pkgsrc/lang/spidermonkey52/distinfo
diff -u pkgsrc/lang/spidermonkey52/distinfo:1.5 pkgsrc/lang/spidermonkey52/distinfo:1.6
--- pkgsrc/lang/spidermonkey52/distinfo:1.5     Wed Oct  3 18:58:22 2018
+++ pkgsrc/lang/spidermonkey52/distinfo Fri May 24 18:15:38 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2018/10/03 18:58:22 maya Exp $
+$NetBSD: distinfo,v 1.6 2019/05/24 18:15:38 leot Exp $
 
 SHA1 (mozjs-52.7.4.tar.bz2) = ff009853040bb46017204fda4ed69a79484fd321
 RMD160 (mozjs-52.7.4.tar.bz2) = 71ee71c2444d8b6a1b2b3c744c9f52a2b7129879
@@ -10,7 +10,7 @@ SHA1 (patch-config_gcc__hidden.h) = c204
 SHA1 (patch-intl_icu_source_configure) = 1ff1be8ca68566e153219e15b8db696afd08b746
 SHA1 (patch-js_src_gc_Memory.cpp) = b1bb0c3045163d586c0b4d731d0ed7c23f339f3c
 SHA1 (patch-js_src_jsnativestack.cpp) = 3d0b06ccc3e24b408b97d01faa7758353f2edc85
-SHA1 (patch-js_src_old-configure_in) = 707cdb8a8ff9abaa7017be10bd2c5727d05b605b
+SHA1 (patch-js_src_old-configure_in) = 4fd3df4abde94758429d943641e1bd7bad3ca926
 SHA1 (patch-js_src_tests_update-test262.sh) = 10d73d95f4b849090bccb8fe656df79cbcea89f3
 SHA1 (patch-js_src_threading_posix_Thread.cpp) = e490d04ed28ffd8b2e9901a24739ad19fe6759e0
 SHA1 (patch-js_src_wasm_WasmSignalHandlers.cpp) = fd9b836d35d71103c3d8b628a6fe7c446bd4c7da

Index: pkgsrc/lang/spidermonkey52/patches/patch-js_src_old-configure_in
diff -u pkgsrc/lang/spidermonkey52/patches/patch-js_src_old-configure_in:1.3 pkgsrc/lang/spidermonkey52/patches/patch-js_src_old-configure_in:1.4
--- pkgsrc/lang/spidermonkey52/patches/patch-js_src_old-configure_in:1.3        Sat May 19 13:00:56 2018
+++ pkgsrc/lang/spidermonkey52/patches/patch-js_src_old-configure_in    Fri May 24 18:15:38 2019
@@ -1,4 +1,4 @@
-$NetBSD: patch-js_src_old-configure_in,v 1.3 2018/05/19 13:00:56 youri Exp $
+$NetBSD: patch-js_src_old-configure_in,v 1.4 2019/05/24 18:15:38 leot Exp $
 
 2nd chunk:
 From 7e6d628456af3e99ebcb9a01a27e1461585082a4 Mon Sep 17 00:00:00 2001
@@ -31,7 +31,7 @@ Index: js/src/old-configure.in
 +        # Don't allow undefined symbols in libraries
 +        DSO_LDOPTS="$DSO_LDOPTS -Wl,-z,defs"
 +    fi
-+    LDFLAGS="$LDFLAGS -Wl,-z,wxneeded"
++    LDFLAGS="$LDFLAGS"
 +    MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
 +    MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
      ;;



Home | Main Index | Thread Index | Old Index