[63327] trunk/dports/science/emos/Portfile

takeshi at macports.org takeshi at macports.org
Mon Feb 1 16:26:26 PST 2010


Revision: 63327
          http://trac.macports.org/changeset/63327
Author:   takeshi at macports.org
Date:     2010-02-01 16:26:25 -0800 (Mon, 01 Feb 2010)
Log Message:
-----------
emos: fixed a build failure on PPC due to a possible bug of gfortran (gcc43) by setting -fdefault-double-8.

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

Modified: trunk/dports/science/emos/Portfile
===================================================================
--- trunk/dports/science/emos/Portfile	2010-02-01 22:54:41 UTC (rev 63326)
+++ trunk/dports/science/emos/Portfile	2010-02-02 00:26:25 UTC (rev 63327)
@@ -64,7 +64,7 @@
         reinplace "s:R64 = R64:R64 =:" ${worksrcpath}/${d}/Makefile
     }
     if {[variant_isset gcc43]} {
-        reinplace "s:-fdefault-real-8 ::" ${worksrcpath}/config/config.site
+        reinplace "s:-fdefault-real-8 -fdefault-double-8 ::" ${worksrcpath}/config/config.site
     } else {
         reinplace "s:-r8 ::" ${worksrcpath}/config/config.site
     }
@@ -92,7 +92,7 @@
     depends_build-append    port:gcc43
     configure.args-delete   --disable-fortran
     configure.compiler      macports-gcc-4.3
-    configure.fflags-append -fdefault-real-8 -fcray-pointer -fno-second-underscore -DPOINTER_64 -DINTEGER_IS_INT -Dlinux -Dgfortran
+    configure.fflags-append -fdefault-real-8 -fdefault-double-8 -fcray-pointer -fno-second-underscore -DPOINTER_64 -DINTEGER_IS_INT -Dlinux -Dgfortran
     configure.cflags-append -DPOINTER_64 -DINTEGER_IS_INT
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100201/7157d23d/attachment.html>


More information about the macports-changes mailing list