[44038] trunk/dports/graphics/glew/Portfile

jmr at macports.org jmr at macports.org
Fri Dec 19 11:26:56 PST 2008


Revision: 44038
          http://trac.macports.org/changeset/44038
Author:   jmr at macports.org
Date:     2008-12-19 11:26:56 -0800 (Fri, 19 Dec 2008)
Log Message:
-----------
glew: make use of configure.cc

Modified Paths:
--------------
    trunk/dports/graphics/glew/Portfile

Modified: trunk/dports/graphics/glew/Portfile
===================================================================
--- trunk/dports/graphics/glew/Portfile	2008-12-19 19:26:18 UTC (rev 44037)
+++ trunk/dports/graphics/glew/Portfile	2008-12-19 19:26:56 UTC (rev 44038)
@@ -25,6 +25,7 @@
 worksrcdir         ${name}
 use_configure      no
 build.env          GLEW_DEST=${prefix}
+build.args         CC=${configure.cc} LD=${configure.cc}
 destroot.env       GLEW_DEST=${destroot}${prefix}
 
 pre-patch {
@@ -33,11 +34,6 @@
                        ${worksrcpath}/Makefile
 }
 
-# ugh, why is configure.cc not available in the build phase?
-set mycc /usr/bin/gcc-4.0
-platform darwin 8  { build.args-append CC=${mycc} LD=${mycc} }
-platform darwin 9  { build.args-append CC=${mycc} LD=${mycc} }
-
 variant universal {
     patchfiles patch-Makefile.diff
     build.args-append CFLAGS.EXTRA="${configure.universal_cflags}" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081219/96b3d844/attachment.html>


More information about the macports-changes mailing list