[93065] trunk/dports/science/molmol

jeremyhu at macports.org jeremyhu at macports.org
Mon May 14 10:30:17 PDT 2012


Revision: 93065
          https://trac.macports.org/changeset/93065
Author:   jeremyhu at macports.org
Date:     2012-05-14 10:30:17 -0700 (Mon, 14 May 2012)
Log Message:
-----------
molmol: UseTheRightCompiler (#34438)

Modified Paths:
--------------
    trunk/dports/science/molmol/Portfile
    trunk/dports/science/molmol/files/molmol-build.diff

Modified: trunk/dports/science/molmol/Portfile
===================================================================
--- trunk/dports/science/molmol/Portfile	2012-05-14 17:27:59 UTC (rev 93064)
+++ trunk/dports/science/molmol/Portfile	2012-05-14 17:30:17 UTC (rev 93065)
@@ -5,7 +5,7 @@
 
 name                molmol
 version             2k.2.0
-revision            3
+revision            4
 categories          science
 maintainers         bromo.med.uc.edu:howarth
 description         Molecular graphics display program
@@ -41,6 +41,7 @@
 post-patch {
     reinplace  "s|@PREFIX@|${prefix}|g" ${worksrcpath}/makedef \
                                         ${worksrcpath}/molmol
+    reinplace  "s|@CC@|${configure.cc}|g" ${worksrcpath}/makedef
 }
 destroot {
     # prune installed files

Modified: trunk/dports/science/molmol/files/molmol-build.diff
===================================================================
--- trunk/dports/science/molmol/files/molmol-build.diff	2012-05-14 17:27:59 UTC (rev 93064)
+++ trunk/dports/science/molmol/files/molmol-build.diff	2012-05-14 17:30:17 UTC (rev 93065)
@@ -30,7 +30,7 @@
 +
 +MCPPFLAGS =  -DMAXINT=INT_MAX -I at PREFIX@/include -I$(TOP)
 +
-+CC = gcc 
++CC = @CC@
 +
 +MCFLAGS = -O -Wall
 +
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120514/8625940f/attachment.html>


More information about the macports-changes mailing list