pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/mozjs60 mozjs60: follow packaging recommendations



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ba1a7ab0902
branches:  trunk
changeset: 426721:6ba1a7ab0902
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Apr 06 05:33:02 2020 +0000

description:
mozjs60: follow packaging recommendations

Disable nspr.

See https://github.com/mozilla-spidermonkey/spidermonkey-embedding-examples/blob/esr60/docs/Building%20SpiderMonkey.md

Bump PKGREVISION.

diffstat:

 lang/mozjs60/Makefile      |  7 +++----
 lang/mozjs60/buildlink3.mk |  4 ++--
 2 files changed, 5 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r 50cd5fef7c6a -r 6ba1a7ab0902 lang/mozjs60/Makefile
--- a/lang/mozjs60/Makefile     Mon Apr 06 04:59:13 2020 +0000
+++ b/lang/mozjs60/Makefile     Mon Apr 06 05:33:02 2020 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2020/04/05 06:10:28 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2020/04/06 05:33:02 wiz Exp $
 
 DISTNAME=      mozjs60_60.8.0.orig
 PKGNAME=       ${DISTNAME:S/_/-/:S/.orig//}
+PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  http://deb.debian.org/debian/pool/main/m/mozjs60/
 EXTRACT_SUFX=  .tar.xz
@@ -24,8 +25,7 @@
 CONFIGURE_ARGS+=       --with-system-icu
 CONFIGURE_ARGS+=       --with-system-zlib
 CONFIGURE_ARGS+=       --enable-readline
-CONFIGURE_ARGS+=       --with-system-nspr
-#CONFIGURE_ARGS+=      --enable-posix-nspr-emulation
+CONFIGURE_ARGS+=       --enable-posix-nspr-emulation
 CONFIGURE_ARGS+=       --with-pthreads
 CONFIGURE_ARGS+=       --disable-jemalloc
 CONFIGURE_ARGS+=       --disable-debug-symbols
@@ -54,6 +54,5 @@
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../lang/python/tool.mk"
 .include "../../textproc/icu/buildlink3.mk"
-.include "../../devel/nspr/buildlink3.mk"
 .include "../../mk/readline.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 50cd5fef7c6a -r 6ba1a7ab0902 lang/mozjs60/buildlink3.mk
--- a/lang/mozjs60/buildlink3.mk        Mon Apr 06 04:59:13 2020 +0000
+++ b/lang/mozjs60/buildlink3.mk        Mon Apr 06 05:33:02 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2020/04/05 06:10:28 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2020/04/06 05:33:02 wiz Exp $
 
 BUILDLINK_TREE+=       mozjs60
 
@@ -6,11 +6,11 @@
 MOZJS60_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.mozjs60+=        mozjs60>=60.8.0
+BUILDLINK_ABI_DEPENDS.mozjs60+=        mozjs60>=60.8.0nb1
 BUILDLINK_PKGSRCDIR.mozjs60?=  ../../lang/mozjs60
 
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../textproc/icu/buildlink3.mk"
-.include "../../devel/nspr/buildlink3.mk"
 .endif # MOZJS60_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -mozjs60



Home | Main Index | Thread Index | Old Index