[59397] trunk/dports/science/pymol/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Oct 14 09:22:38 PDT 2009


Revision: 59397
          http://trac.macports.org/changeset/59397
Author:   ryandesign at macports.org
Date:     2009-10-14 09:22:36 -0700 (Wed, 14 Oct 2009)
Log Message:
-----------
pymol: make sure we're UsingTheRightCompiler; to do this, stop overriding the build phase, which also now gives us nice building. Parallel building causes the build to fail immediately, so turn it off.

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

Modified: trunk/dports/science/pymol/Portfile
===================================================================
--- trunk/dports/science/pymol/Portfile	2009-10-14 15:54:26 UTC (rev 59396)
+++ trunk/dports/science/pymol/Portfile	2009-10-14 16:22:36 UTC (rev 59397)
@@ -37,11 +37,15 @@
     reinplace  "s|/usr/X11R6|${prefix}|g" ${worksrcpath}/modules/pymol/__init__.py
 }
 
-build {
+post-configure {
     copy ${worksrcpath}/setup/Rules.osx-fink ${worksrcpath}/Rules.delsci
-    system "cd  ${worksrcpath}; make -f Makefile.delsci"
 }
 
+use_parallel_build  no
+build.args          -f Makefile.delsci \
+                    CC=${configure.cc} \
+                    CXX=${configure.cxx}
+
 destroot {
     file mkdir ${destroot}${prefix}/lib/pymol/bin
     copy  ${worksrcpath}/setup/pymol.com.osx-fink ${destroot}${prefix}/lib/pymol/bin/pymol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091014/2f4dbdb5/attachment.html>


More information about the macports-changes mailing list