[82790] trunk/dports/science/scotch/Portfile

mk at macports.org mk at macports.org
Sat Aug 20 04:52:13 PDT 2011


Revision: 82790
          http://trac.macports.org/changeset/82790
Author:   mk at macports.org
Date:     2011-08-20 04:52:09 -0700 (Sat, 20 Aug 2011)
Log Message:
-----------
science/scotch: make sure the right compiler is being used

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

Modified: trunk/dports/science/scotch/Portfile
===================================================================
--- trunk/dports/science/scotch/Portfile	2011-08-20 08:53:49 UTC (rev 82789)
+++ trunk/dports/science/scotch/Portfile	2011-08-20 11:52:09 UTC (rev 82790)
@@ -5,7 +5,7 @@
 
 name                scotch
 version             5.1.11
-revision            2
+revision            3
 
 # this is specific to this port and *version* for downloading it:
 set release         28043
@@ -50,7 +50,8 @@
                     LDFLAGS="[join ${configure.ldflags}] ${archflags}"
 
 pre-build {
-	ln -sf ${worksrcpath}/Make.inc/Makefile.inc.i686_mac_darwin8 ${worksrcpath}/Makefile.inc
+    copy ${worksrcpath}/Make.inc/Makefile.inc.i686_mac_darwin8 ${worksrcpath}/Makefile.inc
+    reinplace "s|gcc|\$(CC)|" ${worksrcpath}/Makefile.inc
 }
 
 build.target scotch ptscotch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110820/4e3a6616/attachment.html>


More information about the macports-changes mailing list