[152088] trunk/dports/devel/ld64/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Mon Aug 29 00:58:18 PDT 2016
Revision: 152088
https://trac.macports.org/changeset/152088
Author: jeremyhu at macports.org
Date: 2016-08-29 00:58:18 -0700 (Mon, 29 Aug 2016)
Log Message:
-----------
ld64: Move error condition to pre-fetch (#52127)
Modified Paths:
--------------
trunk/dports/devel/ld64/Portfile
Modified: trunk/dports/devel/ld64/Portfile
===================================================================
--- trunk/dports/devel/ld64/Portfile 2016-08-29 07:00:19 UTC (rev 152087)
+++ trunk/dports/devel/ld64/Portfile 2016-08-29 07:58:18 UTC (rev 152088)
@@ -300,8 +300,10 @@
}
if {![some_llvm_variant_set] && ${os.major} >= 9} {
- ui_error "Your platform cannot be configured without LTO support in ld64. Please enable one of the llvmXX variants, and try again."
- return -code error "Your platform cannot be configured without LTO support in ld64. Please enable one of the llvmXX variants, and try again."
+ pre-fetch {
+ ui_error "Your platform cannot be configured without LTO support in ld64. Please enable one of the llvmXX variants, and try again."
+ return -code error "Your platform cannot be configured without LTO support in ld64. Please enable one of the llvmXX variants, and try again."
+ }
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160829/442eff1d/attachment.html>
More information about the macports-changes
mailing list