Ticket #15679 (closed defect: fixed)
gtkglarea: Build failure
| Reported by: | raimue@… | 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
Change History
Note: See
TracTickets for help on using
tickets.


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 +}