# $NetBSD: buildlink3.mk,v 1.47 2009/03/20 19:24:36 joerg Exp $ BUILDLINK_TREE+= MesaLib .if !defined(MESALIB_BUILDLINK3_MK) MESALIB_BUILDLINK3_MK:= BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=3.4.2 BUILDLINK_ABI_DEPENDS.MesaLib+= MesaLib>=7.0.3 BUILDLINK_PKGSRCDIR.MesaLib?= ../../graphics/MesaLib .include "../../mk/bsd.fast.prefs.mk" # See . .if !empty(MACHINE_PLATFORM:MDarwin-[9].*-*) BUILDLINK_LDFLAGS.MesaLib+= -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib .endif pkgbase:= MesaLib .include "../../mk/pkg-build-options.mk" .if !empty(PKG_BUILD_OPTIONS.MesaLib:Mdri) . include "../../graphics/MesaLib/dri.mk" .endif .if !empty(MACHINE_PLATFORM:MNetBSD-[12].*) .include "../../devel/pthread-stublib/buildlink3.mk" .endif .include "../../x11/libXext/buildlink3.mk" .endif # MESALIB_BUILDLINK3_MK BUILDLINK_TREE+= -MesaLib