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

ryandesign at macports.org ryandesign at macports.org
Tue Dec 1 07:40:50 PST 2009


Revision: 61062
          http://trac.macports.org/changeset/61062
Author:   ryandesign at macports.org
Date:     2009-12-01 07:40:46 -0800 (Tue, 01 Dec 2009)
Log Message:
-----------
cdf: fix build when build_arch is not x86_64

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

Modified: trunk/dports/science/cdf/Portfile
===================================================================
--- trunk/dports/science/cdf/Portfile	2009-12-01 15:27:00 UTC (rev 61061)
+++ trunk/dports/science/cdf/Portfile	2009-12-01 15:40:46 UTC (rev 61062)
@@ -39,6 +39,7 @@
 
 post-patch	{
 		  reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile
+		  reinplace "s|-lgcc|`${configure.cc} -print-libgcc-file-name`|g" ${worksrcpath}/Makefile
 		  reinplace "s|\\\$(INSTALLDIR)/bin/definitions\\.\\(\[BCK\]\\)|${prefix}/bin/definitions.\\1|" ${worksrcpath}/Makefile
 		}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091201/88916f21/attachment.html>


More information about the macports-changes mailing list