most recent changes, diff for cdf
Index: science/cdf/Portfile
--- science/cdf/Portfile (revision 33661)
+++ science/cdf/Portfile (revision 33662)
@@ -1,6 +1,7 @@
# $Id$
PortSystem 1.0
+
name cdf
version 32
maintainers gwright@macports.org
@@ -39,6 +40,14 @@
patchfiles patch-Makefile
+post-patch {
+ reinplace "s|-L/usr/lib/gcc/powerpc-apple-darwin8/4.0.1|`gcc-mp-4.2 -print-libgcc-file-name`|g" Makefile
+ reinplace "s|-L/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/ppc64|`gcc-mp-4.2 -print-libgcc-file-name`|g" Makefile
+ reinplace "s|-L/usr/lib/gcc/i686-apple-darwin8/4.0.1|`gcc-mp-4.2 -print-libgcc-file-name`|g" Makefile
+
+ reinplace "s|/Developer/SDKs/MacOSX10.4u.sdk/usr/lib|${prefix}/lib|g" Makefile
+ }
+
build {
system "make OS=macosx ENV=${cdf_arch} FORTRAN=yes FC=gfortran-mp-4.2 all"
}