summaryrefslogtreecommitdiff
path: root/graphics/MesaLib
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-09-30 10:18:57 +0000
committerjlam <jlam@pkgsrc.org>2003-09-30 10:18:57 +0000
commit57635c2e5da974d012ea66288a15c3f6c70a4d82 (patch)
treeb05953a73f1fb8935d16765bde58719aa3b003e4 /graphics/MesaLib
parent0995d71967f650188bd85e9d4f4fbcc7fc16f61f (diff)
downloadpkgsrc-57635c2e5da974d012ea66288a15c3f6c70a4d82.tar.gz
Match the buildlink3.mk guidelines set out in revision 1.22 of
bsd.buildlink3.mk.
Diffstat (limited to 'graphics/MesaLib')
-rw-r--r--graphics/MesaLib/buildlink3.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/graphics/MesaLib/buildlink3.mk b/graphics/MesaLib/buildlink3.mk
index 91773c981f4..95f1fa70f80 100644
--- a/graphics/MesaLib/buildlink3.mk
+++ b/graphics/MesaLib/buildlink3.mk
@@ -1,10 +1,9 @@
-# $NetBSD: buildlink3.mk,v 1.7 2003/09/30 00:42:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2003/09/30 10:18:57 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+MESALIB_BUILDLINK3_MK:= ${MESALIB_BUILDLINK3_MK}+
-.if !defined(MESALIB_BUILDLINK3_MK)
-MESALIB_BUILDLINK3_MK= YES
-
+.if !empty(MESALIB_BUILDLINK3_MK:M\+)
. include "../../mk/bsd.prefs.mk"
MESA_REQD?= 3.4.2
@@ -69,7 +68,7 @@ BUILDLINK_DEPENDS+= MesaLib
. endif
.endif
-.if !defined(MESALIB_BUILDLINK3_MK)
+.if !empty(MESALIB_BUILDLINK3_MK:M\+)
. if ${_NEED_MESALIB} == "YES"
BUILDLINK_PACKAGES+= MesaLib
BUILDLINK_CPPFLAGS.MesaLib= -DGLX_GLXEXT_LEGACY