--- trunk/dports/math/petsc/Portfile 2011-11-17 14:50:45 UTC (rev 87337)
+++ trunk/dports/math/petsc/Portfile 2011-11-17 15:02:17 UTC (rev 87338)
@@ -38,7 +38,7 @@
--with-cxx=${prefix}/bin/openmpicxx \
--with-mpiexec=${prefix}/bin/openmpiexec \
--with-fc=${prefix}/bin/openmpif90 \
- --LDFLAGS=-lstdc++
+ --LIBS=-lstdc++
destroot.destdir DESTDIR=${destroot}${prefix}/lib/petsc
post-destroot {