Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #15679 (closed defect: fixed)

Opened 6 months ago

Last modified 5 months ago

gtkglarea: Build failure

Reported by: raimue@… Owned by: digdog@…
Priority: Normal Milestone: Port Bugs
Component: ports Version:
Keywords: gtkglarea Cc:
Port:

Description

Here is a patch which makes gtkglarea build for me again on Leopard. It was missing -framework OpenGL.

Attachments

patch-gtkglarea-opengl.diff (0.5 KB) - added by raimue@… 6 months ago.

Change History

Changed 6 months ago by raimue@…

Sorry, can't attach it at the moment (http://lists.macosforge.org/pipermail/macports-dev/2008-June/005435.html), so I will post it inline:

Index: Portfile
===================================================================
--- Portfile	(revision 37687)
+++ Portfile	(working copy)
@@ -18,3 +18,10 @@
 checksums	md5 cd82b1ca47d9bd13e0b890181b33a871
 depends_lib	port:glib1 port:gettext
 configure.cflags	-no-cpp-precomp
+configure.ldflags	-framework OpenGL
+
+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
+}

Changed 6 months ago by raimue@…

Changed 5 months ago by digdog@…

  • status changed from new to closed
  • resolution set to fixed

Thanks. Fixed in r37784

Note: See TracTickets for help on using tickets.