Modified: trunk/dports/science/cdf/Portfile (61056 => 61057)
--- trunk/dports/science/cdf/Portfile 2009-12-01 13:32:40 UTC (rev 61056)
+++ trunk/dports/science/cdf/Portfile 2009-12-01 13:47:28 UTC (rev 61057)
@@ -42,11 +42,11 @@
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|-L/usr/lib/gcc/powerpc-apple-darwin8/4.0.1|`gcc-mp-4.2 -print-libgcc-file-name`|g" ${worksrcpath}/Makefile
+ reinplace "s|-L/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/ppc64|`gcc-mp-4.2 -print-libgcc-file-name`|g" ${worksrcpath}/Makefile
+ reinplace "s|-L/usr/lib/gcc/i686-apple-darwin8/4.0.1|`gcc-mp-4.2 -print-libgcc-file-name`|g" ${worksrcpath}/Makefile
- reinplace "s|/Developer/SDKs/MacOSX10.4u.sdk/usr/lib|${prefix}/lib|g" Makefile
+ reinplace "s|/Developer/SDKs/MacOSX10.4u.sdk/usr/lib|${prefix}/lib|g" ${worksrcpath}/Makefile
}
pre-build {