pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/spidermonkey52 TLS is broken on NetBSD aarch64, s...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9299522e4645
branches: trunk
changeset: 383487:9299522e4645
user: jmcneill <jmcneill%pkgsrc.org@localhost>
date: Wed Aug 01 09:32:27 2018 +0000
description:
TLS is broken on NetBSD aarch64, so force use of pthread_{set,get}specific
diffstat:
lang/spidermonkey52/Makefile | 4 ++--
lang/spidermonkey52/hacks.mk | 14 ++++++++++++++
2 files changed, 16 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 311c4c83c8b9 -r 9299522e4645 lang/spidermonkey52/Makefile
--- a/lang/spidermonkey52/Makefile Wed Aug 01 07:40:59 2018 +0000
+++ b/lang/spidermonkey52/Makefile Wed Aug 01 09:32:27 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2018/07/20 03:34:18 ryoon Exp $
+# $NetBSD: Makefile,v 1.8 2018/08/01 09:32:27 jmcneill Exp $
DISTNAME= mozjs-52.7.4
-PKGREVISION= 2
+PKGREVISION= 3
PKGNAME= ${DISTNAME:S/mozjs/spidermonkey52/}
CATEGORIES= lang
MASTER_SITES= https://queue.taskcluster.net/v1/task/YqG2fjJJSTGzGX090FjDYg/runs/0/artifacts/public/build/
diff -r 311c4c83c8b9 -r 9299522e4645 lang/spidermonkey52/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/spidermonkey52/hacks.mk Wed Aug 01 09:32:27 2018 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: hacks.mk,v 1.1 2018/08/01 09:32:27 jmcneill Exp $
+
+.if !defined(SPIDERMONKEY52_HACKS_MK)
+SPIDERMONKEY52_HACKS_MK= # defined
+
+###
+### TLS is not supported yet on NetBSD aarch64 as of 8.99.22
+###
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64*)
+PKG_HACKS+= tls
+CONFIGURE_ENV+= ac_cv_thread_keyword=no
+.endif
+
+.endif # SPIDERMONKEY52_HACKS_MK
Home |
Main Index |
Thread Index |
Old Index