[46845] trunk/dports/science/vis5d+/Portfile
takeshi at macports.org
takeshi at macports.org
Sun Feb 15 02:00:45 PST 2009
Revision: 46845
http://trac.macports.org/changeset/46845
Author: takeshi at macports.org
Date: 2009-02-15 02:00:42 -0800 (Sun, 15 Feb 2009)
Log Message:
-----------
vis5d: disabled pthreads. enabled g95 variant
Modified Paths:
--------------
trunk/dports/science/vis5d+/Portfile
Modified: trunk/dports/science/vis5d+/Portfile
===================================================================
--- trunk/dports/science/vis5d+/Portfile 2009-02-15 01:55:36 UTC (rev 46844)
+++ trunk/dports/science/vis5d+/Portfile 2009-02-15 10:00:42 UTC (rev 46845)
@@ -5,6 +5,7 @@
name vis5d+
version 1.3.0-beta
+revision 1
categories science graphics
maintainers takeshi at macports.org
description OpenGL-based scientific visualization program
@@ -34,6 +35,8 @@
post-patch {
reinplace "s|-undefined|-flat_namespace -undefined|" \
${worksrcpath}/configure
+ reinplace "s|^ac_save_positional|#ac_save_positional|" \
+ ${worksrcpath}/configure
reinplace "s|round|roundv5d|" ${worksrcpath}/src/misc.h
reinplace "s|round|roundv5d|" ${worksrcpath}/src/misc.c
reinplace "s| round| roundv5d|" ${worksrcpath}/src/work.c
@@ -48,8 +51,9 @@
configure.env PTHREAD_LIBS=-lpthread
configure.args -disable-fortran \
- -disable-dependency-tracing \
- -enable-threads
+ -disable-dependency-tracing
+# seemes to use up CPU all the time
+# -enable-threads
configure.cppflags-append -I/usr/X11/include
use_parallel_build yes
@@ -83,17 +87,16 @@
${destroot}${prefix}/share/doc/${name}/html/stylesheet-images
}
-#variant g95 description {compiles fortran interface for g95} \
-# conflicts {gcc43 universal} {
-# depends_build port:g95
-# configure.args-delete -disable-fortran \
-# -enable-threads
-# configure.f77 ${prefix}/bin/g95
-# configure.env-delete PTHREAD_LIBS=-lpthread
-#}
+variant g95 description {compiles fortran interface for g95} \
+ conflicts gcc43 {
+ depends_build port:g95
+ configure.args-delete -disable-fortran \
+ -enable-threads
+ configure.f77 ${prefix}/bin/g95
+}
#variant gcc43 description {compiles fortran interface for gcc43} \
-# conflicts {g95 universal} {
+# conflicts g95 {
# depends_build port:gcc43
# configure.args-delete -disable-fortran \
# -enable-threads
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090215/7fe484d6/attachment.html>
More information about the macports-changes
mailing list