pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/MesaLib Use Apple's suggested work around(*) ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/def3504db66f
branches: trunk
changeset: 536200:def3504db66f
user: tron <tron%pkgsrc.org@localhost>
date: Wed Dec 05 21:39:01 2007 +0000
description:
Use Apple's suggested work around(*) to fix linker problems under
Mac OS X Leopard.
(*) http://developer.apple.com/qa/qa2007/qa1567.html
diffstat:
graphics/MesaLib/buildlink3.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r b3f22a5ab916 -r def3504db66f graphics/MesaLib/buildlink3.mk
--- a/graphics/MesaLib/buildlink3.mk Wed Dec 05 21:38:06 2007 +0000
+++ b/graphics/MesaLib/buildlink3.mk Wed Dec 05 21:39:01 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.40 2007/08/13 11:18:40 seb Exp $
+# $NetBSD: buildlink3.mk,v 1.41 2007/12/05 21:39:01 tron Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MESALIB_BUILDLINK3_MK:= ${MESALIB_BUILDLINK3_MK}+
@@ -20,6 +20,10 @@
BUILDLINK_CPPFLAGS.MesaLib= -DGLX_GLXEXT_LEGACY
.endif
+.if !empty(MACHINE_PLATFORM:MDarwin-[9].*-*)
+BUILDLINK_LDFLAGS.MesaLib+= -Wl,-dylib_file
-Wl,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
+.endif
+
BUILDLINK_TRANSFORM+= l:MesaGL:GL
.endif # MESALIB_BUILDLINK3_MK
Home |
Main Index |
Thread Index |
Old Index