assume builtin MesaLib on Cygwin is not usind dri.

This commit is contained in:
obache 2013-04-19 11:56:23 +00:00
parent 5fd393605b
commit 00118210c7

View file

@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.48 2012/04/08 05:59:25 obache Exp $
# $NetBSD: buildlink3.mk,v 1.49 2013/04/19 11:56:23 obache Exp $
BUILDLINK_TREE+= MesaLib
@ -19,7 +19,7 @@ BUILDLINK_LDFLAGS.MesaLib+= -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.fr
pkgbase:= MesaLib
.include "../../mk/pkg-build-options.mk"
.if ${X11_TYPE} == "native" && exists(${X11BASE}/lib/pkgconfig/dri.pc)
.if ${X11_TYPE} == "native" && exists(${X11BASE}/lib/pkgconfig/dri.pc) && ${OPSYS} != "Cygwin"
PKG_BUILD_OPTIONS.MesaLib+= dri
.endif