[30685] trunk/dports/aqua/Smultron/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sat Nov 3 18:39:15 PDT 2007
Revision: 30685
http://trac.macosforge.org/projects/macports/changeset/30685
Author: jmpp at macports.org
Date: 2007-11-03 18:39:15 -0700 (Sat, 03 Nov 2007)
Log Message:
-----------
Turn darwin [6-8] into placeholders platforms that aid in checking the platform we're on in a pre-fetch hook,
so that we can return -code error out of the Portfile when running on them, rather than caling exit which is
now forbidden.
Sorry for barging in Brent, but this was breaking the index and I had to jump in and fix it!
Modified Paths:
--------------
trunk/dports/aqua/Smultron/Portfile
Modified: trunk/dports/aqua/Smultron/Portfile
===================================================================
--- trunk/dports/aqua/Smultron/Portfile 2007-11-04 01:16:51 UTC (rev 30684)
+++ trunk/dports/aqua/Smultron/Portfile 2007-11-04 01:39:15 UTC (rev 30685)
@@ -28,11 +28,17 @@
use_zip yes
distname ${name}Source-${version}
+pre-fetch {
+ if {[variant_isset darwin_6] || [variant_isset darwin_7] || [variant_isset darwin_8]} {
+ return -code error "Smultron ${version} only builds on Mac OS X Leopard (10.5.x). Sorry."
+ }
+}
+
use_configure no
-platform darwin 6 { ui_msg "Smultron 3.2 does not build on Jaguar (10.2.x). Sorry." exit 0 }
-platform darwin 7 { ui_msg "Smultron 3.2 does not build on Panther (10.3.x). Sorry." exit 0 }
-platform darwin 8 { ui_msg "Smultron 3.2 does not build on Tiger (10.4.x). Sorry. exit 0 }
+platform darwin 6 { }
+platform darwin 7 { }
+platform darwin 8 { }
platform darwin 9 {
if {$xcodeversion == "2.1"} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071103/d19a1fb6/attachment.html
More information about the macports-changes
mailing list