[124716] trunk/dports/science
takeshi at macports.org
takeshi at macports.org
Wed Aug 27 07:34:57 PDT 2014
Revision: 124716
https://trac.macports.org/changeset/124716
Author: takeshi at macports.org
Date: 2014-08-27 07:34:57 -0700 (Wed, 27 Aug 2014)
Log Message:
-----------
hdfeos, hdfeos5: check active_variants in pre-configure and omit catch
Modified Paths:
--------------
trunk/dports/science/hdfeos/Portfile
trunk/dports/science/hdfeos5/Portfile
Modified: trunk/dports/science/hdfeos/Portfile
===================================================================
--- trunk/dports/science/hdfeos/Portfile 2014-08-27 14:27:55 UTC (rev 124715)
+++ trunk/dports/science/hdfeos/Portfile 2014-08-27 14:34:57 UTC (rev 124716)
@@ -39,7 +39,7 @@
${destroot}${prefix}/include
}
-catch {
+pre-configure {
if {[active_variants port:hdf4 szip]} {
default_variants-append +szip
}
Modified: trunk/dports/science/hdfeos5/Portfile
===================================================================
--- trunk/dports/science/hdfeos5/Portfile 2014-08-27 14:27:55 UTC (rev 124715)
+++ trunk/dports/science/hdfeos5/Portfile 2014-08-27 14:34:57 UTC (rev 124716)
@@ -44,7 +44,7 @@
} else {
set h5cc h5cc
}
-catch {
+pre-configure {
if {[active_variants port:hdf5 szip]} {
default_variants-append +szip
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140827/914df761/attachment-0001.html>
More information about the macports-changes
mailing list