[34441] trunk/dports/aqua/Shiira2/Portfile
jmr at macports.org
jmr at macports.org
Sun Feb 24 17:24:23 PST 2008
Revision: 34441
http://trac.macosforge.org/projects/macports/changeset/34441
Author: jmr at macports.org
Date: 2008-02-24 17:24:22 -0800 (Sun, 24 Feb 2008)
Log Message:
-----------
Shiira2: error when installing on too-old OSes without breaking 'port info' etc.
Modified Paths:
--------------
trunk/dports/aqua/Shiira2/Portfile
Modified: trunk/dports/aqua/Shiira2/Portfile
===================================================================
--- trunk/dports/aqua/Shiira2/Portfile 2008-02-25 01:16:34 UTC (rev 34440)
+++ trunk/dports/aqua/Shiira2/Portfile 2008-02-25 01:24:22 UTC (rev 34441)
@@ -46,8 +46,9 @@
platform darwin {
if {${os.major} < 8} {
- ui_msg "Shiira 2 needs Mac OS X 10.4 \'Tiger\' or later."
- exit 1
+ pre-fetch {
+ return -code error "Shiira 2 needs Mac OS X 10.4 \"Tiger\" or later."
+ }
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080224/e29fca24/attachment.html
More information about the macports-changes
mailing list