[36918] trunk/dports/science/hdf5/Portfile

jochen at macports.org jochen at macports.org
Mon May 19 07:28:04 PDT 2008


Revision: 36918
          http://trac.macosforge.org/projects/macports/changeset/36918
Author:   jochen at macports.org
Date:     2008-05-19 07:27:59 -0700 (Mon, 19 May 2008)

Log Message:
-----------
patch and rationale by Christian Cornelssen:

The intended variant manipulation for +g95 does not take place. That
is, selecting +g95 doas not add +fortran. I suppose this is because
$default_variants are considered only before executing any variant
code.
I have changed the Portfile to use a "requires" clause. This works for
me.

Modified Paths:
--------------
    trunk/dports/science/hdf5/Portfile

Modified: trunk/dports/science/hdf5/Portfile
===================================================================
--- trunk/dports/science/hdf5/Portfile	2008-05-18 23:37:08 UTC (rev 36917)
+++ trunk/dports/science/hdf5/Portfile	2008-05-19 14:27:59 UTC (rev 36918)
@@ -7,7 +7,7 @@
 # We should provide a hdf5-devel port for 1.8 at this time, I guess.
 name                hdf5
 version             1.6.7
-revision            5
+revision            6
 categories          science
 maintainers         openmaintainer jochen
 
@@ -65,9 +65,8 @@
     configure.compiler          macports-gcc-4.3
 }
 
-variant g95 conflicts gcc42 gcc43 description {Use g95 Fortran compiler} {
+variant g95 requires fortran conflicts gcc42 gcc43 description {Use g95 Fortran compiler} {
     depends_lib-append          port:g95
-    default_variants-append     fortran
     patchfiles-append           patch-powerpc-apple.diff
     configure.fc                ${prefix}/bin/g95
     configure.fflags            -fno-second-underscore

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080519/8b15812d/attachment.htm 


More information about the macports-changes mailing list