diff --git a/external/mit/xorg/lib/dri/i915/Makefile b/external/mit/xorg/lib/dri/i915/Makefile index 3994078ad01a..0bcf200f6252 100644 --- a/external/mit/xorg/lib/dri/i915/Makefile +++ b/external/mit/xorg/lib/dri/i915/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2009/06/11 01:47:08 mrg Exp $ +# $NetBSD: Makefile,v 1.4 2009/11/09 02:38:24 mrg Exp $ MODULE= i915 @@ -56,4 +56,8 @@ SRCS= \ intel_fbo.c \ intel_depthstencil.c +CPPFLAGS+= -DI915 -DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP + +LIBS+= -ldrm_intel + .include "${.CURDIR}/../dri.mk" diff --git a/external/mit/xorg/lib/dri/i965/Makefile b/external/mit/xorg/lib/dri/i965/Makefile index 068a17e0bd19..f87c6c0d1b90 100644 --- a/external/mit/xorg/lib/dri/i965/Makefile +++ b/external/mit/xorg/lib/dri/i965/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2009/06/11 01:47:08 mrg Exp $ +# $NetBSD: Makefile,v 1.5 2009/11/09 02:38:24 mrg Exp $ MODULE= i965 @@ -90,4 +90,6 @@ SRCS= \ COPTS.brw_draw_upload.c= -Wno-error +LIBS+= -ldrm_intel + .include "${.CURDIR}/../dri.mk"