[126814] trunk/dports/devel
ciserlohn at macports.org
ciserlohn at macports.org
Wed Oct 15 12:21:00 PDT 2014
Revision: 126814
https://trac.macports.org/changeset/126814
Author: ciserlohn at macports.org
Date: 2014-10-15 12:21:00 -0700 (Wed, 15 Oct 2014)
Log Message:
-----------
nodejs, nodejs-devel: allow spaces in CFLAGS, CXXFLAGS, LDFLAGS; use MACOSX_DEPLOYMENT_TARGET from MacPorts (closes #45380)
Modified Paths:
--------------
trunk/dports/devel/nodejs/Portfile
trunk/dports/devel/nodejs-devel/Portfile
Added Paths:
-----------
trunk/dports/devel/nodejs/files/
trunk/dports/devel/nodejs/files/patch-common.gypi.diff
trunk/dports/devel/nodejs-devel/files/
trunk/dports/devel/nodejs-devel/files/patch-common.gypi.diff
Modified: trunk/dports/devel/nodejs/Portfile
===================================================================
--- trunk/dports/devel/nodejs/Portfile 2014-10-15 19:08:57 UTC (rev 126813)
+++ trunk/dports/devel/nodejs/Portfile 2014-10-15 19:21:00 UTC (rev 126814)
@@ -6,6 +6,7 @@
name nodejs
version 0.10.32
+revision 1
categories devel net
platforms darwin
license {MIT BSD}
@@ -102,6 +103,8 @@
universal_variant no
+patchfiles-append patch-common.gypi.diff
+
# "V8 doesn't like cache."
configure.ccache no
@@ -122,9 +125,9 @@
CXX=${configure.cxx} \
CXX.host=${configure.cxx} \
CPP=${configure.cpp} \
- CFLAGS=${configure.cflags} \
- CXXFLAGS=${configure.cxxflags} \
- LDFLAGS=${configure.ldflags} \
+ CFLAGS="${configure.cflags}" \
+ CXXFLAGS="${configure.cxxflags}" \
+ LDFLAGS="${configure.ldflags}" \
PYTHON=${configure.python} \
V=1
Added: trunk/dports/devel/nodejs/files/patch-common.gypi.diff
===================================================================
--- trunk/dports/devel/nodejs/files/patch-common.gypi.diff (rev 0)
+++ trunk/dports/devel/nodejs/files/patch-common.gypi.diff 2014-10-15 19:21:00 UTC (rev 126814)
@@ -0,0 +1,10 @@
+--- common.gypi.orig 2014-09-16 17:47:52.000000000 -0500
++++ common.gypi 2014-10-13 22:42:11.000000000 -0500
+@@ -207,7 +207,6 @@
+ 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
+ 'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics
+ 'PREBINDING': 'NO', # No -Wl,-prebind
+- 'MACOSX_DEPLOYMENT_TARGET': '10.5', # -mmacosx-version-min=10.5
+ 'USE_HEADERMAP': 'NO',
+ 'OTHER_CFLAGS': [
+ '-fno-strict-aliasing',
Modified: trunk/dports/devel/nodejs-devel/Portfile
===================================================================
--- trunk/dports/devel/nodejs-devel/Portfile 2014-10-15 19:08:57 UTC (rev 126813)
+++ trunk/dports/devel/nodejs-devel/Portfile 2014-10-15 19:21:00 UTC (rev 126814)
@@ -6,6 +6,7 @@
name nodejs-devel
version 0.11.14
+revision 1
categories devel net
platforms darwin
license {MIT BSD}
@@ -95,6 +96,8 @@
universal_variant no
+patchfiles-append patch-common.gypi.diff
+
# "V8 doesn't like cache."
configure.ccache no
@@ -114,9 +117,9 @@
build.args-append CC=${configure.cc} \
CXX=${configure.cxx} \
CPP=${configure.cpp} \
- CFLAGS=${configure.cflags} \
- CXXFLAGS=${configure.cxxflags} \
- LDFLAGS=${configure.ldflags} \
+ CFLAGS="${configure.cflags}" \
+ CXXFLAGS="${configure.cxxflags}" \
+ LDFLAGS="${configure.ldflags}" \
PYTHON=${configure.python} \
V=1
Added: trunk/dports/devel/nodejs-devel/files/patch-common.gypi.diff
===================================================================
--- trunk/dports/devel/nodejs-devel/files/patch-common.gypi.diff (rev 0)
+++ trunk/dports/devel/nodejs-devel/files/patch-common.gypi.diff 2014-10-15 19:21:00 UTC (rev 126814)
@@ -0,0 +1,10 @@
+--- common.gypi.orig 2014-09-16 17:47:52.000000000 -0500
++++ common.gypi 2014-10-13 22:42:11.000000000 -0500
+@@ -207,7 +207,6 @@
+ 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
+ 'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics
+ 'PREBINDING': 'NO', # No -Wl,-prebind
+- 'MACOSX_DEPLOYMENT_TARGET': '10.5', # -mmacosx-version-min=10.5
+ 'USE_HEADERMAP': 'NO',
+ 'OTHER_CFLAGS': [
+ '-fno-strict-aliasing',
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141015/4481acab/attachment.html>
More information about the macports-changes
mailing list