pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang lang/nodejs{6,8}: Decouple respectiv...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/474cf7c9f30a
branches:  trunk
changeset: 307255:474cf7c9f30a
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Thu May 03 21:12:23 2018 +0000
description:
lang/nodejs{6,8}: Decouple respective options.mk from main package.

diffstat:

 lang/nodejs6/Makefile   |  4 +++-
 lang/nodejs6/options.mk |  4 +++-
 lang/nodejs8/Makefile   |  4 +++-
 lang/nodejs8/options.mk |  4 +++-
 4 files changed, 12 insertions(+), 4 deletions(-)

diffs (62 lines):

diff -r 4a3e734b25e7 -r 474cf7c9f30a lang/nodejs6/Makefile
--- a/lang/nodejs6/Makefile     Thu May 03 21:09:17 2018 +0000
+++ b/lang/nodejs6/Makefile     Thu May 03 21:12:23 2018 +0000
@@ -1,6 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2018/05/03 10:29:16 fhajny Exp $
+# $NetBSD: Makefile,v 1.26 2018/05/03 21:12:23 fhajny Exp $
 
 DISTNAME=      node-v6.14.2
 
+.include "options.mk"
+
 .include "../../lang/nodejs/Makefile.common"
 .include "../../mk/bsd.pkg.mk"
diff -r 4a3e734b25e7 -r 474cf7c9f30a lang/nodejs6/options.mk
--- a/lang/nodejs6/options.mk   Thu May 03 21:09:17 2018 +0000
+++ b/lang/nodejs6/options.mk   Thu May 03 21:12:23 2018 +0000
@@ -1,9 +1,11 @@
-# $NetBSD: options.mk,v 1.1 2016/10/25 19:54:00 fhajny Exp $
+# $NetBSD: options.mk,v 1.2 2018/05/03 21:12:23 fhajny Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.node
 PKG_SUPPORTED_OPTIONS= openssl dtrace
 PKG_SUGGESTED_OPTIONS= openssl
 
+.include "../../mk/bsd.prefs.mk"
+
 .if (${OPSYS} == "SunOS" || ${OPSYS} == "Darwin") \
     && exists(/usr/sbin/dtrace)
 PKG_SUGGESTED_OPTIONS+=        dtrace
diff -r 4a3e734b25e7 -r 474cf7c9f30a lang/nodejs8/Makefile
--- a/lang/nodejs8/Makefile     Thu May 03 21:09:17 2018 +0000
+++ b/lang/nodejs8/Makefile     Thu May 03 21:12:23 2018 +0000
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.10 2018/05/02 16:33:02 fhajny Exp $
+# $NetBSD: Makefile,v 1.11 2018/05/03 21:12:23 fhajny Exp $
 
 DISTNAME=      node-v8.11.1
 
 # Stated by the changelog as of 8.2.0
 GCC_REQD+=     4.9.4
 
+.include "options.mk"
+
 CONFIGURE_ARGS+=       --with-intl=system-icu
 
 PKGREVISION= 2
diff -r 4a3e734b25e7 -r 474cf7c9f30a lang/nodejs8/options.mk
--- a/lang/nodejs8/options.mk   Thu May 03 21:09:17 2018 +0000
+++ b/lang/nodejs8/options.mk   Thu May 03 21:12:23 2018 +0000
@@ -1,9 +1,11 @@
-# $NetBSD: options.mk,v 1.1 2017/11/01 12:07:31 fhajny Exp $
+# $NetBSD: options.mk,v 1.2 2018/05/03 21:12:23 fhajny Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.node
 PKG_SUPPORTED_OPTIONS= openssl dtrace
 PKG_SUGGESTED_OPTIONS= openssl
 
+.include "../../mk/bsd.prefs.mk"
+
 .if (${OPSYS} == "SunOS" || ${OPSYS} == "Darwin") \
     && exists(/usr/sbin/dtrace)
 PKG_SUGGESTED_OPTIONS+=        dtrace



Home | Main Index | Thread Index | Old Index