[145977] trunk/dports/science/gpp4/Portfile

dstrubbe at macports.org dstrubbe at macports.org
Tue Feb 23 09:07:43 PST 2016


Revision: 145977
          https://trac.macports.org/changeset/145977
Author:   dstrubbe at macports.org
Date:     2016-02-23 09:07:43 -0800 (Tue, 23 Feb 2016)
Log Message:
-----------
gpp4: mmdb needs to be a lib dependency also when a Fortran variant is used.

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

Modified: trunk/dports/science/gpp4/Portfile
===================================================================
--- trunk/dports/science/gpp4/Portfile	2016-02-23 15:55:35 UTC (rev 145976)
+++ trunk/dports/science/gpp4/Portfile	2016-02-23 17:07:43 UTC (rev 145977)
@@ -34,10 +34,14 @@
 compilers.choose    f77
 compilers.setup     
 
+# README says: "To compile the Fortran library, it is required that the MMDB library is installed."
+# However, configure requires it regardless, so it must be a build dependency always, but is only
+# needed as a lib dependency when the Fortran interface is built.
+if {[fortran_variant_isset]} {
+    depends_lib-append   port:mmdb
+}
+
 pre-fetch {
-#    depends_lib-append         port:mmdb
-    # README says: "To compile the Fortran library, it is required that the MMDB library is installed."
-    # However, configure appears to require it regardless.
     if {![fortran_variant_isset]} {
         configure.args-append  --without-fortran-api F77=no
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160223/1edf9d86/attachment.html>


More information about the macports-changes mailing list