[149620] trunk/dports/devel/nodejs6/Portfile
ciserlohn at macports.org
ciserlohn at macports.org
Mon Jun 27 23:07:40 PDT 2016
Revision: 149620
https://trac.macports.org/changeset/149620
Author: ciserlohn at macports.org
Date: 2016-06-27 23:07:40 -0700 (Mon, 27 Jun 2016)
Log Message:
-----------
nodejs6: patchfile is only applicable for darwin version 13 or higher
Modified Paths:
--------------
trunk/dports/devel/nodejs6/Portfile
Modified: trunk/dports/devel/nodejs6/Portfile
===================================================================
--- trunk/dports/devel/nodejs6/Portfile 2016-06-28 04:01:47 UTC (rev 149619)
+++ trunk/dports/devel/nodejs6/Portfile 2016-06-28 06:07:40 UTC (rev 149620)
@@ -46,9 +46,12 @@
configure.python ${prefix}/bin/python2.7
patchfiles patch-common.gypi.diff \
- patch-tools-gyp-pylib-gyp-generator-make.py.diff \
- patch-src-util.h.diff
+ patch-tools-gyp-pylib-gyp-generator-make.py.diff
+if {${os.major} < 13} {
+ patchfiles-append patch-src-util.h.diff
+}
+
post-patch {
foreach f [concat ${worksrcpath}/configure \
${worksrcpath}/tools/gyp/gyp \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160627/9af5fb34/attachment-0001.html>
More information about the macports-changes
mailing list