Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#15679 closed defect (fixed)

gtkglarea: Build failure

Reported by: raimue (Rainer Müller) Owned by: digdog@…
Priority: Normal Milestone:
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 (1)

patch-gtkglarea-opengl.diff (550 bytes) - added by raimue (Rainer Müller) 12 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 12 years ago by raimue (Rainer Müller)

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 12 years ago by raimue (Rainer Müller)

Attachment: patch-gtkglarea-opengl.diff added

comment:2 Changed 12 years ago by digdog@…

Resolution: fixed
Status: newclosed

Thanks. Fixed in r37784

comment:3 Changed 11 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.