[45772] trunk/dports/x11/mesa/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Jan 21 11:07:16 PST 2009


Revision: 45772
          http://trac.macports.org/changeset/45772
Author:   jeremyhu at macports.org
Date:     2009-01-21 11:07:16 -0800 (Wed, 21 Jan 2009)
Log Message:
-----------
mesa: Only change X11_DIR if we're using +system_x11... #17995

Modified Paths:
--------------
    trunk/dports/x11/mesa/Portfile

Modified: trunk/dports/x11/mesa/Portfile
===================================================================
--- trunk/dports/x11/mesa/Portfile	2009-01-21 19:03:52 UTC (rev 45771)
+++ trunk/dports/x11/mesa/Portfile	2009-01-21 19:07:16 UTC (rev 45772)
@@ -44,10 +44,9 @@
 }
 
 build.target default
-build.args-append INSTALL_DIR=${prefix} X11_DIR=${x11prefix}
+build.args-append INSTALL_DIR=${prefix}
+destroot.args-append INSTALL_DIR=${prefix}
 
-destroot.args-append INSTALL_DIR=${prefix} X11_DIR=${x11prefix}
-
 variant universal {
 	if {![info exists universal_archs]} {
 		set universal_archs {i386 ppc}
@@ -56,6 +55,9 @@
 }
 
 variant system_x11 description {Install a stub package to use the system X11 libraries rather than MacPorts} {
+	build.args-append X11_DIR=${x11prefix}
+	destroot.args-append X11_DIR=${x11prefix}
+
 	if { [file exists ${x11prefix}/lib/libGLU.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
 		depends_build
 		depends_lib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090121/35f8ec14/attachment.html>


More information about the macports-changes mailing list