[74294] trunk/dports/devel/git-core/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Dec 10 15:11:57 PST 2010


Revision: 74294
          http://trac.macports.org/changeset/74294
Author:   ryandesign at macports.org
Date:     2010-12-10 15:11:52 -0800 (Fri, 10 Dec 2010)
Log Message:
-----------
git-core: avoid recompiling (with the wrong compiler) in the test phase by passing the same arguments in test.args as were passed in build.args; see #27624

Modified Paths:
--------------
    trunk/dports/devel/git-core/Portfile

Modified: trunk/dports/devel/git-core/Portfile
===================================================================
--- trunk/dports/devel/git-core/Portfile	2010-12-10 22:58:52 UTC (rev 74293)
+++ trunk/dports/devel/git-core/Portfile	2010-12-10 23:11:52 UTC (rev 74294)
@@ -59,8 +59,11 @@
 test.cmd       make
 test.target    test
 test.dir       ${worksrcpath}
-test.args      prefix=${prefix} CURLDIR=${prefix} OPENSSLDIR=${prefix} ICONVDIR=${prefix} \
-               PERL_PATH="${prefix}/bin/perl" NO_FINK=1 NO_DARWIN_PORTS=1
+test.args      CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
+               CC=${configure.cc} \
+               prefix=${prefix} CURLDIR=${prefix} OPENSSLDIR=${prefix} ICONVDIR=${prefix} \
+               PERL_PATH="${prefix}/bin/perl" NO_FINK=1 NO_DARWIN_PORTS=1 \
+               NO_R_TO_GCC_LINKER=1
 
 destroot.destdir  DESTDIR=${destroot} prefix=${prefix}
 destroot.target   install
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101210/09c5ec80/attachment.html>


More information about the macports-changes mailing list