[47627] trunk/dports/science/vis5d+/Portfile
takeshi at macports.org
takeshi at macports.org
Mon Mar 2 01:39:42 PST 2009
Revision: 47627
http://trac.macports.org/changeset/47627
Author: takeshi at macports.org
Date: 2009-03-02 01:39:42 -0800 (Mon, 02 Mar 2009)
Log Message:
-----------
vis5d+: fixed g95 port
Modified Paths:
--------------
trunk/dports/science/vis5d+/Portfile
Modified: trunk/dports/science/vis5d+/Portfile
===================================================================
--- trunk/dports/science/vis5d+/Portfile 2009-03-02 09:31:47 UTC (rev 47626)
+++ trunk/dports/science/vis5d+/Portfile 2009-03-02 09:39:42 UTC (rev 47627)
@@ -40,6 +40,12 @@
reinplace "s|round|roundv5d|" ${worksrcpath}/src/misc.h
reinplace "s|round|roundv5d|" ${worksrcpath}/src/misc.c
reinplace "s| round| roundv5d|" ${worksrcpath}/src/work.c
+ reinplace "s|MISS/'80808080'X/|MISS/X'80808080'/|" ${worksrcpath}/util/igmk3d.f
+ reinplace "s|ZERO/'30'X/|ZERO/X'30'/|" ${worksrcpath}/util/sdest.f
+ reinplace "s|IMASK/'1FF'X/|IMASK/X'1FF'/|" ${worksrcpath}/util/topo.f
+ reinplace "s|ENDMRK/'80808080'X/|ENDMRK/X'80808080'/|" \
+ ${worksrcpath}/util/gg3d.f ${worksrcpath}/util/igg3d.f
+ reinplace "s|NULL/'80808080'X/|NULL/X'80808080'/|" ${worksrcpath}/util/igg3d.f
}
if {[variant_isset universal]} {
@@ -90,16 +96,15 @@
variant g95 description {compiles fortran interface for g95} \
conflicts gcc43 {
depends_build port:g95
- configure.args-delete -disable-fortran \
- -enable-threads
+ configure.args-delete -disable-fortran
configure.f77 ${prefix}/bin/g95
+ configure.env-append FLIBS=${prefix}/lib/libf95.a
}
#variant gcc43 description {compiles fortran interface for gcc43} \
# conflicts g95 {
# depends_build port:gcc43
# configure.args-delete -disable-fortran \
-# -enable-threads
# configure.f77 ${prefix}/bin/gfortran-mp-4.3
# configure.env-delete PTHREAD_LIBS=-lpthread
#}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090302/50daf910/attachment.html>
More information about the macports-changes
mailing list