[61057] trunk/dports/science/cdf/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Dec 1 05:47:31 PST 2009


Revision: 61057
          http://trac.macports.org/changeset/61057
Author:   ryandesign at macports.org
Date:     2009-12-01 05:47:28 -0800 (Tue, 01 Dec 2009)
Log Message:
-----------
cdf: remove assumption that worksrcpath is the current working directory; see #17526 and #22592

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

Modified: trunk/dports/science/cdf/Portfile
===================================================================
--- 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	{
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091201/c69fee26/attachment.html>


More information about the macports-changes mailing list