[87562] trunk/dports/devel/nodejs/Portfile
ciserlohn at macports.org
ciserlohn at macports.org
Fri Nov 25 11:31:45 PST 2011
Revision: 87562
http://trac.macports.org/changeset/87562
Author: ciserlohn at macports.org
Date: 2011-11-25 11:31:44 -0800 (Fri, 25 Nov 2011)
Log Message:
-----------
nodejs: prevent installation on Mac OS X Versions lower than 10.6 as it won't compile (fixes #32218)
Modified Paths:
--------------
trunk/dports/devel/nodejs/Portfile
Modified: trunk/dports/devel/nodejs/Portfile
===================================================================
--- trunk/dports/devel/nodejs/Portfile 2011-11-25 18:49:34 UTC (rev 87561)
+++ trunk/dports/devel/nodejs/Portfile 2011-11-25 19:31:44 UTC (rev 87562)
@@ -95,5 +95,12 @@
${docdir}
}
+if {${os.major} < 10} {
+ pre-fetch {
+ ui_error "${name} ${version} requires Mac OS X 10.6 or greater."
+ return -code error "incompatible Mac OS X version"
+ }
+}
+
livecheck.type regex
livecheck.regex node-v(\\d+\\.\[02468\]+\\.\\d+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111125/ec07db24/attachment.html>
More information about the macports-changes
mailing list