[63795] trunk/dports/science/vis5d/Portfile

takeshi at macports.org takeshi at macports.org
Mon Feb 15 02:25:45 PST 2010


Revision: 63795
          http://trac.macports.org/changeset/63795
Author:   takeshi at macports.org
Date:     2010-02-15 02:25:45 -0800 (Mon, 15 Feb 2010)
Log Message:
-----------
vis5d: fixes #23706

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

Modified: trunk/dports/science/vis5d/Portfile
===================================================================
--- trunk/dports/science/vis5d/Portfile	2010-02-15 10:20:51 UTC (rev 63794)
+++ trunk/dports/science/vis5d/Portfile	2010-02-15 10:25:45 UTC (rev 63795)
@@ -5,7 +5,7 @@
 
 name            vis5d
 version         1.3.0-beta
-revision        4
+revision        5
 distname        ${name}+-${version}
 categories      science graphics
 maintainers     takeshi
@@ -60,8 +60,9 @@
 #    reinplace "s|-lnetcdf \$V5D_LIBS_AUX|-lnetcdf -lhdf5_hl -lhdf5 -lz -lcurl \$V5D_LIBS_AUX|" \
 #        ${worksrcpath}/configure
 #}
-if {[variant_isset universal]} {
-    post-configure {
+post-configure {
+    reinplace -E {s|-arch [^ ]+||g} ${worksrcpath}/vis5d+.pc
+    if {[variant_isset universal]} {
         reinplace "s|-dynamiclib|-dynamiclib ${configure.universal_ldflags}|" \
             ${worksrcpath}/libtool
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100215/32b97ea9/attachment.html>


More information about the macports-changes mailing list