Revision
124716
Author
takeshi@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

Diff

Modified: trunk/dports/science/hdfeos/Portfile (124715 => 124716)


--- 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 (124715 => 124716)


--- 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
     }