[91248] trunk/dports/x11/mesa

ryandesign at macports.org ryandesign at macports.org
Tue Mar 27 04:59:39 PDT 2012


Revision: 91248
          https://trac.macports.org/changeset/91248
Author:   ryandesign at macports.org
Date:     2012-03-27 04:59:38 -0700 (Tue, 27 Mar 2012)
Log Message:
-----------
mesa: fix build on Tiger ppc; see #29860

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

Added Paths:
-----------
    trunk/dports/x11/mesa/files/patch-src-mesa-Makefile.diff

Modified: trunk/dports/x11/mesa/Portfile
===================================================================
--- trunk/dports/x11/mesa/Portfile	2012-03-27 11:27:10 UTC (rev 91247)
+++ trunk/dports/x11/mesa/Portfile	2012-03-27 11:59:38 UTC (rev 91248)
@@ -105,14 +105,17 @@
 platform darwin 8 {
     patchfiles-append tiger-exports.patch
 
-    post-patch {
-        # http://trac.macports.org/ticket/24345
-        # http://trac.macports.org/ticket/24393
-        # http://trac.macports.org/ticket/29860
-        if {${build_arch} == "ppc"} {
+    # https://trac.macports.org/ticket/24345
+    # https://trac.macports.org/ticket/24393
+    # https://trac.macports.org/ticket/29860
+    if {${build_arch} == "ppc"} {
+        patchfiles-append patch-src-mesa-Makefile.diff
+        post-patch {
             reinplace "/SRC_DIRS/ s/gallium//" ${worksrcpath}/configs/darwin
         }
-
+    }
+    
+    post-patch {
         # These are being comented out to find out if they're still broken
         # 6/6/2011
         #reinplace "/SRC_DIRS/ s/mesa//" ${worksrcpath}/configs/darwin

Added: trunk/dports/x11/mesa/files/patch-src-mesa-Makefile.diff
===================================================================
--- trunk/dports/x11/mesa/files/patch-src-mesa-Makefile.diff	                        (rev 0)
+++ trunk/dports/x11/mesa/files/patch-src-mesa-Makefile.diff	2012-03-27 11:59:38 UTC (rev 91248)
@@ -0,0 +1,11 @@
+--- a/src/mesa/Makefile.orig	2012-02-14 17:44:00.000000000 -0600
++++ b/src/mesa/Makefile	2012-03-26 17:02:40.000000000 -0500
+@@ -3,7 +3,7 @@
+ TOP = ../..
+ include $(TOP)/configs/current
+ 
+-MESA_LIBS := libmesa.a libmesagallium.a
++MESA_LIBS := libmesa.a
+ DEPENDS := depend
+ 
+ MESA_OBJ_DIR := .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120327/ea367e4e/attachment.html>


More information about the macports-changes mailing list