Require at least the version of Mesa that's installed by the base system

if it's used.
This commit is contained in:
jlam 2004-02-10 22:42:56 +00:00
parent 322907088c
commit 5697154046
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.19 2004/02/10 22:23:40 jlam Exp $
# $NetBSD: buildlink3.mk,v 1.20 2004/02/10 22:42:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MESALIB_BUILDLINK3_MK:= ${MESALIB_BUILDLINK3_MK}+
@ -83,6 +83,7 @@ BUILDLINK_DEPENDS+= MesaLib
. if !empty(BUILDLINK_USE_BUILTIN.MesaLib:M[yY][eE][sS])
BUILDLINK_PREFIX.MesaLib= ${X11BASE}
USE_X11= yes
_MESA_REQD= ${_MESA_VERSION}
. else
BUILDLINK_CPPFLAGS.MesaLib= -DGLX_GLXEXT_LEGACY
. endif

View file

@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.17 2004/02/10 22:23:40 jlam Exp $
# $NetBSD: buildlink3.mk,v 1.18 2004/02/10 22:42:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GLU_BUILDLINK3_MK:= ${GLU_BUILDLINK3_MK}+
@ -82,6 +82,7 @@ BUILDLINK_DEPENDS+= glu
. if !empty(BUILDLINK_USE_BUILTIN.glu:M[yY][eE][sS])
BUILDLINK_PREFIX.glu= ${X11BASE}
USE_X11= yes
_MESA_REQD= ${_MESA_VERSION}
. endif
.endif # GLU_BUILDLINK3_MK