summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-10 22:42:56 +0000
committerjlam <jlam@pkgsrc.org>2004-02-10 22:42:56 +0000
commit56971540461364b920d08187eda98f1fa596bafe (patch)
tree6cd9463b900bce1b1f0848b609cb9b3f582f9da6
parent322907088cc26553e28e6fb3e63a99c9ff225c0e (diff)
downloadpkgsrc-56971540461364b920d08187eda98f1fa596bafe.tar.gz
Require at least the version of Mesa that's installed by the base system
if it's used.
-rw-r--r--graphics/MesaLib/buildlink3.mk3
-rw-r--r--graphics/glu/buildlink3.mk3
2 files changed, 4 insertions, 2 deletions
diff --git a/graphics/MesaLib/buildlink3.mk b/graphics/MesaLib/buildlink3.mk
index 405c7bab457..6dffbbf455b 100644
--- a/graphics/MesaLib/buildlink3.mk
+++ b/graphics/MesaLib/buildlink3.mk
@@ -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
diff --git a/graphics/glu/buildlink3.mk b/graphics/glu/buildlink3.mk
index c6e58cd38c9..aaad1075f9a 100644
--- a/graphics/glu/buildlink3.mk
+++ b/graphics/glu/buildlink3.mk
@@ -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