[136739] trunk/dports/graphics/libepoxy

devans at macports.org devans at macports.org
Mon May 25 09:29:57 PDT 2015


Revision: 136739
          https://trac.macports.org/changeset/136739
Author:   devans at macports.org
Date:     2015-05-25 09:29:56 -0700 (Mon, 25 May 2015)
Log Message:
-----------
libepoxy: apply patch provided by ryandesign to correct hard coded path to (now mesa) libGL, thanks (#47828, #47708).

Modified Paths:
--------------
    trunk/dports/graphics/libepoxy/Portfile

Added Paths:
-----------
    trunk/dports/graphics/libepoxy/files/patch-src-dispatch_common.c.diff

Modified: trunk/dports/graphics/libepoxy/Portfile
===================================================================
--- trunk/dports/graphics/libepoxy/Portfile	2015-05-25 14:17:31 UTC (rev 136738)
+++ trunk/dports/graphics/libepoxy/Portfile	2015-05-25 16:29:56 UTC (rev 136739)
@@ -5,6 +5,7 @@
 PortGroup           github 1.0
 
 github.setup        anholt libepoxy 1.2 v
+revision            1
 license             MIT permissive
 categories          graphics
 maintainers         devans openmaintainer
@@ -28,8 +29,13 @@
 depends_lib         port:mesa \
                     port:xorg-libX11
 
-patchfiles          patch-configure.ac.diff
+patchfiles          patch-configure.ac.diff \
+                    patch-src-dispatch_common.c.diff
 
+post-patch {
+    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/dispatch_common.c
+}
+
 configure.cmd       ./autogen.sh
 
 configure.python    ${prefix}/bin/python3.4

Added: trunk/dports/graphics/libepoxy/files/patch-src-dispatch_common.c.diff
===================================================================
--- trunk/dports/graphics/libepoxy/files/patch-src-dispatch_common.c.diff	                        (rev 0)
+++ trunk/dports/graphics/libepoxy/files/patch-src-dispatch_common.c.diff	2015-05-25 16:29:56 UTC (rev 136739)
@@ -0,0 +1,11 @@
+--- src/dispatch_common.c.orig	2014-05-13 19:22:08.000000000 -0500
++++ src/dispatch_common.c	2015-05-24 19:28:19.000000000 -0500
+@@ -103,7 +103,7 @@
+ #include "dispatch_common.h"
+ 
+ #ifdef __APPLE__
+-#define GLX_LIB "/opt/X11/lib/libGL.1.dylib"
++#define GLX_LIB "@PREFIX@/lib/libGL.1.dylib"
+ #else
+ #define GLX_LIB "libGL.so.1"
+ #endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150525/35f5e821/attachment.html>


More information about the macports-changes mailing list