[140942] trunk/dports/devel/class-dump/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Oct 6 02:13:15 PDT 2015


Revision: 140942
          https://trac.macports.org/changeset/140942
Author:   ryandesign at macports.org
Date:     2015-10-06 02:13:15 -0700 (Tue, 06 Oct 2015)
Log Message:
-----------
class-dump: refine unsupported OS X version error message

Modified Paths:
--------------
    trunk/dports/devel/class-dump/Portfile

Modified: trunk/dports/devel/class-dump/Portfile
===================================================================
--- trunk/dports/devel/class-dump/Portfile	2015-10-06 09:10:43 UTC (rev 140941)
+++ trunk/dports/devel/class-dump/Portfile	2015-10-06 09:13:15 UTC (rev 140942)
@@ -39,7 +39,8 @@
 
 if {${os.major} < 12} {
     pre-fetch {
-        return -code error "$name requires Mac OS X 10.8 or later."
+        ui_error "${name} @${version} requires OS X 10.8 or later."
+        return -code error "incompatible OS X version"
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151006/80bc9a60/attachment.html>


More information about the macports-changes mailing list