pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang lang/nodejs*: Provide bl3 to nodejs ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/be1c3700d368
branches:  trunk
changeset: 307279:be1c3700d368
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Fri May 04 14:28:32 2018 +0000
description:
lang/nodejs*: Provide bl3 to nodejs packages to provide headers.

diffstat:

 lang/nodejs/buildlink3.mk  |  31 +++++++++++++++++++++++++++++++
 lang/nodejs/nodeversion.mk |   8 ++++----
 lang/nodejs6/buildlink3.mk |  28 ++++++++++++++++++++++++++++
 lang/nodejs8/buildlink3.mk |  29 +++++++++++++++++++++++++++++
 4 files changed, 92 insertions(+), 4 deletions(-)

diffs (124 lines):

diff -r 91eb2c2145dc -r be1c3700d368 lang/nodejs/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/nodejs/buildlink3.mk Fri May 04 14:28:32 2018 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/05/04 14:28:32 fhajny Exp $
+
+BUILDLINK_TREE+=       nodejs
+
+.if !defined(NODEJS_BUILDLINK3_MK)
+NODEJS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.nodejs+= nodejs>=10
+BUILDLINK_PKGSRCDIR.nodejs?=   ../../lang/nodejs
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Darwin"
+.include "../../devel/libexecinfo/buildlink3.mk"
+.endif
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../www/nghttp2/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+
+pkgbase := nodejs
+.include "../../mk/pkg-build-options.mk"
+
+# Enable when we start using pkgsrc openssl-1.1.x
+#.if !empty(PKG_BUILD_OPTIONS.nodejs:Mopenssl)
+#.  include "../../security/openssl/buildlink3.mk"
+#.endif
+
+.endif # NODEJS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -nodejs
diff -r 91eb2c2145dc -r be1c3700d368 lang/nodejs/nodeversion.mk
--- a/lang/nodejs/nodeversion.mk        Fri May 04 14:26:41 2018 +0000
+++ b/lang/nodejs/nodeversion.mk        Fri May 04 14:28:32 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: nodeversion.mk,v 1.2 2018/05/03 21:19:16 fhajny Exp $
+# $NetBSD: nodeversion.mk,v 1.3 2018/05/04 14:28:32 fhajny Exp $
 
 # This file determins which nodejs version is used as a dependency for
 # a package.
@@ -89,11 +89,11 @@
 _NODE_VERSION?=                none
 
 .if ${_NODE_VERSION} == "8"
-DEPENDS+=      nodejs>=8<9:../../lang/nodejs8
+.include "../../lang/nodejs8/buildlink3.mk"
 .elif ${_NODE_VERSION} == "6"
-DEPENDS+=      nodejs>=6<7:../../lang/nodejs6
+.include "../../lang/nodejs6/buildlink3.mk"
 .elif ${_NODE_VERSION} == "10"
-DEPENDS+=      nodejs>=10:../../lang/nodejs
+.include "../../lang/nodejs/buildlink3.mk"
 .else
 PKG_FAIL_REASON+=      "No valid node version found"
 .endif
diff -r 91eb2c2145dc -r be1c3700d368 lang/nodejs6/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/nodejs6/buildlink3.mk        Fri May 04 14:28:32 2018 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/05/04 14:28:32 fhajny Exp $
+
+BUILDLINK_TREE+=       nodejs
+
+.if !defined(NODEJS_BUILDLINK3_MK)
+NODEJS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.nodejs+= nodejs>=6<7
+BUILDLINK_PKGSRCDIR.nodejs?=   ../../lang/nodejs6
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Darwin"
+.include "../../devel/libexecinfo/buildlink3.mk"
+.endif
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+
+pkgbase := nodejs
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.nodejs:Mopenssl)
+.  include "../../security/openssl/buildlink3.mk"
+.endif
+
+.endif # NODEJS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -nodejs
diff -r 91eb2c2145dc -r be1c3700d368 lang/nodejs8/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/nodejs8/buildlink3.mk        Fri May 04 14:28:32 2018 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/05/04 14:28:32 fhajny Exp $
+
+BUILDLINK_TREE+=       nodejs
+
+.if !defined(NODEJS_BUILDLINK3_MK)
+NODEJS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.nodejs+= nodejs>=8<9
+BUILDLINK_PKGSRCDIR.nodejs?=   ../../lang/nodejs8
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Darwin"
+.include "../../devel/libexecinfo/buildlink3.mk"
+.endif
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+
+pkgbase := nodejs
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.nodejs:Mopenssl)
+.  include "../../security/openssl/buildlink3.mk"
+.endif
+
+.endif # NODEJS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -nodejs



Home | Main Index | Thread Index | Old Index