[34163] trunk/dports/x11/gtkglarea2/Portfile

gui_dos at macports.org gui_dos at macports.org
Sat Feb 16 00:23:14 PST 2008


Revision: 34163
          http://trac.macosforge.org/projects/macports/changeset/34163
Author:   gui_dos at macports.org
Date:     2008-02-16 00:23:14 -0800 (Sat, 16 Feb 2008)

Log Message:
-----------
gtkglarea2: workaround to compile it on Leopard (closes #14280)

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

Modified: trunk/dports/x11/gtkglarea2/Portfile
===================================================================
--- trunk/dports/x11/gtkglarea2/Portfile	2008-02-16 08:10:01 UTC (rev 34162)
+++ trunk/dports/x11/gtkglarea2/Portfile	2008-02-16 08:23:14 UTC (rev 34163)
@@ -20,4 +20,10 @@
                         sha1 5a4e7f37a7cbf628cde948ac0f95d8d810b1a007
 depends_lib             lib:libGL.1:XFree86 \
                         lib:libgtk.2:gtk2
-configure.post_args     --with-GL-prefix=/usr/X11R6
+configure.post_args     --with-GL-prefix=${x11prefix}
+
+platform darwin 9 {
+    configure.ldflags-append \
+        -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\
+        /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080216/acc5a296/attachment.html 


More information about the macports-changes mailing list