summaryrefslogtreecommitdiff
path: root/graphics/MesaLib/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/MesaLib/buildlink3.mk')
-rw-r--r--graphics/MesaLib/buildlink3.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/MesaLib/buildlink3.mk b/graphics/MesaLib/buildlink3.mk
index ded581797a6..9a221586425 100644
--- a/graphics/MesaLib/buildlink3.mk
+++ b/graphics/MesaLib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2003/09/13 23:21:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2003/09/14 01:47:51 jlam Exp $
.if !defined(MESALIB_BUILDLINK3_MK)
MESALIB_BUILDLINK3_MK= # defined
@@ -64,6 +64,8 @@ BUILDLINK_DEPENDS+= MesaLib
. endif
BUILDLINK_PACKAGES+= MesaLib
BUILDLINK_CPPFLAGS.MesaLib= -DGLX_GLXEXT_LEGACY
+.else
+BUILDLINK_PREFIX.MesaLib= ${X11BASE}
.endif
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//}