[91173] trunk/dports/lang/apple-gcc42/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sat Mar 24 20:44:58 PDT 2012
Revision: 91173
https://trac.macports.org/changeset/91173
Author: jeremyhu at macports.org
Date: 2012-03-24 20:44:58 -0700 (Sat, 24 Mar 2012)
Log Message:
-----------
apple-gcc42: Error out early on Tiger, #32127
Modified Paths:
--------------
trunk/dports/lang/apple-gcc42/Portfile
Modified: trunk/dports/lang/apple-gcc42/Portfile
===================================================================
--- trunk/dports/lang/apple-gcc42/Portfile 2012-03-25 03:40:16 UTC (rev 91172)
+++ trunk/dports/lang/apple-gcc42/Portfile 2012-03-25 03:44:58 UTC (rev 91173)
@@ -96,6 +96,17 @@
# system "cd ${workpath} && tar xjf ${distpath}/${dcore}"
#}
+platform darwin {
+ if {${os.major} < 9} {
+ depends_lib
+ depends_run
+ pre-fetch {
+ ui_error "$name does not build on Tiger or earlier."
+ error "unsupported platform"
+ }
+ }
+}
+
post-patch {
# Install documentation in a MacPorts location
reinplace "/^HTMLDIR=/ s:=.*$:=\"${prefix}/share/doc/${name}/html\":" ${worksrcpath}/build_gcc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120324/10770079/attachment.html>
More information about the macports-changes
mailing list