[63312] trunk/dports/lang/g95/Portfile

takeshi at macports.org takeshi at macports.org
Mon Feb 1 09:03:39 PST 2010


Revision: 63312
          http://trac.macports.org/changeset/63312
Author:   takeshi at macports.org
Date:     2010-02-01 09:03:38 -0800 (Mon, 01 Feb 2010)
Log Message:
-----------
g95: use configure.cc in pre-configure and post-build

Modified Paths:
--------------
    trunk/dports/lang/g95/Portfile

Modified: trunk/dports/lang/g95/Portfile
===================================================================
--- trunk/dports/lang/g95/Portfile	2010-02-01 16:55:05 UTC (rev 63311)
+++ trunk/dports/lang/g95/Portfile	2010-02-01 17:03:38 UTC (rev 63312)
@@ -82,7 +82,8 @@
         reinplace "s|/usr/bin/libtool|${prefix}/bin/odlibtool|" ${workpath}/gcc-${version_gcc}/gcc/config/darwin.h
         set gcc_configargs "--with-as=${prefix}/bin/odas --with-ld=${prefix}/bin/odld --with-nm=${prefix}/bin/odnm"
     }
-    system "export CPPFLAGS=\"${configure.cppflags}\"; \
+    system "export CC=\"${configure.cc}\"; \
+            export CPPFLAGS=\"${configure.cppflags}\"; \
             export CFLAGS=\"${configure.cflags}\"; \
             export LDFLAGS=\"${configure.ldflags}\"; \
             cd ${workpath}/gcc-${version_gcc}/${name}; \
@@ -105,6 +106,7 @@
 
 post-build {
     system "cd ${worksrcpath}/libf95.a-${version}; \
+           export CC=\"${configure.cc}\"; \
            export CFLAGS=\"${configure.cflags} ${configure.cc_archflags}\"; \
            ./configure --prefix=${prefix} ${buildhost}; \
            make"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100201/78e335a4/attachment.html>


More information about the macports-changes mailing list