[53374] trunk/base

blb at macports.org blb at macports.org
Sat Jul 4 01:24:31 PDT 2009


Revision: 53374
          http://trac.macports.org/changeset/53374
Author:   blb at macports.org
Date:     2009-07-04 01:24:30 -0700 (Sat, 04 Jul 2009)
Log Message:
-----------
base - make sure PATH does not include MacPorts' prefix during make to avoid using a gcc in ${prefix}/bin; ticket #19051

Modified Paths:
--------------
    trunk/base/Makefile.in
    trunk/base/aclocal.m4
    trunk/base/configure

Modified: trunk/base/Makefile.in
===================================================================
--- trunk/base/Makefile.in	2009-07-04 07:59:04 UTC (rev 53373)
+++ trunk/base/Makefile.in	2009-07-04 08:24:30 UTC (rev 53374)
@@ -1,5 +1,6 @@
 # $Id$
 
+PATH		= @PATH_CLEANED@
 SUBDIR		= doc src
 DISTDIR		= dist
 DISTVER		=

Modified: trunk/base/aclocal.m4
===================================================================
--- trunk/base/aclocal.m4	2009-07-04 07:59:04 UTC (rev 53373)
+++ trunk/base/aclocal.m4	2009-07-04 08:24:30 UTC (rev 53374)
@@ -826,6 +826,7 @@
 		fi
 	done
 	PATH=$newPATH; export PATH
+	AC_SUBST(PATH_CLEANED,$newPATH)
 	prefix=$oldprefix
 ])
 

Modified: trunk/base/configure
===================================================================
--- trunk/base/configure	2009-07-04 07:59:04 UTC (rev 53373)
+++ trunk/base/configure	2009-07-04 08:24:30 UTC (rev 53374)
@@ -764,6 +764,7 @@
 XCODE_SELECT
 DEFAULTS
 SW_VERS
+PATH_CLEANED
 MACPORTS_VERSION
 target_os
 target_vendor
@@ -2198,6 +2199,8 @@
 		fi
 	done
 	PATH=$newPATH; export PATH
+	PATH_CLEANED=$newPATH
+
 	prefix=$oldprefix
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090704/0a4e037a/attachment.html>


More information about the macports-changes mailing list