[89937] trunk/dports/x11/wxgtk

jmr at macports.org jmr at macports.org
Wed Feb 15 20:01:57 PST 2012


Revision: 89937
          http://trac.macports.org/changeset/89937
Author:   jmr at macports.org
Date:     2012-02-15 20:01:56 -0800 (Wed, 15 Feb 2012)
Log Message:
-----------
wxgtk: fix opengl libs being omitted from link command (#28629)

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

Added Paths:
-----------
    trunk/dports/x11/wxgtk/files/configure.patch

Modified: trunk/dports/x11/wxgtk/Portfile
===================================================================
--- trunk/dports/x11/wxgtk/Portfile	2012-02-16 03:25:23 UTC (rev 89936)
+++ trunk/dports/x11/wxgtk/Portfile	2012-02-16 04:01:56 UTC (rev 89937)
@@ -30,7 +30,7 @@
                 port:freetype \
                 port:zlib
 
-patchfiles      patch-Makefile.in
+patchfiles      patch-Makefile.in configure.patch
 
 # g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
 universal_variant no

Added: trunk/dports/x11/wxgtk/files/configure.patch
===================================================================
--- trunk/dports/x11/wxgtk/files/configure.patch	                        (rev 0)
+++ trunk/dports/x11/wxgtk/files/configure.patch	2012-02-16 04:01:56 UTC (rev 89937)
@@ -0,0 +1,11 @@
+--- configure.orig	2011-03-22 23:16:57.000000000 +1100
++++ configure	2012-02-16 14:40:36.000000000 +1100
+@@ -33191,7 +33191,7 @@
+     elif test "$wxUSE_MSW" = 1; then
+         OPENGL_LIBS="-lopengl32 -lglu32"
+     elif test "$USE_DARWIN" = 1; then
+-        OPENGL_LIBS=""
++        OPENGL_LIBS="-lGL -lGLU"
+     else
+                         echo "$as_me:$LINENO: checking for OpenGL headers" >&5
+ echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120215/d6a78b30/attachment-0001.html>


More information about the macports-changes mailing list