summaryrefslogtreecommitdiff
path: root/graphics/Mesa
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-17 17:45:52 +0000
committerjlam <jlam@pkgsrc.org>2001-06-17 17:45:52 +0000
commita1ee30d07aa29ffe1dd3710431a5db1db313e282 (patch)
tree1d3ba59d6656b56242494a0fba6df00b9eb9c09b /graphics/Mesa
parentd3fab9a2715c09667e41d4d5480d516ae6e86305 (diff)
downloadpkgsrc-a1ee30d07aa29ffe1dd3710431a5db1db313e282.tar.gz
Define USE_MESA if this file is included and remove unused MESA_REQD.
Also rename Mesa-{1,2} to Mesa-{x11base,localbase} to be more informative.
Diffstat (limited to 'graphics/Mesa')
-rw-r--r--graphics/Mesa/buildlink.mk39
1 files changed, 19 insertions, 20 deletions
diff --git a/graphics/Mesa/buildlink.mk b/graphics/Mesa/buildlink.mk
index 67d4992da62..a4925f5baa0 100644
--- a/graphics/Mesa/buildlink.mk
+++ b/graphics/Mesa/buildlink.mk
@@ -1,45 +1,44 @@
-# $NetBSD: buildlink.mk,v 1.4 2001/06/11 01:59:36 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.5 2001/06/17 17:45:52 jlam Exp $
#
# This Makefile fragment is included by packages that use Mesa.
#
# To use this Makefile fragment, simply:
#
-# (1) Optionally define MESA_REQD to the version of Mesa desired.
-# (2) Include this Makefile fragment in the package Makefile,
-# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
+# (1) Include this Makefile fragment in the package Makefile,
+# (2) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
# search path, and
-# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
+# (3) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
# path.
.if !defined(MESA_BUILDLINK_MK)
MESA_BUILDLINK_MK= # defined
-MESA_REQD?= 3.2.1
+USE_MESA= # defined
# We double-list because we're not sure if the files are in ${X11BASE}
# or in ${LOCALBASE}.
-BUILDLINK_PREFIX.Mesa-1= ${X11BASE}
-BUILDLINK_FILES.Mesa-1= include/GL/*
-BUILDLINK_FILES.Mesa-1+= lib/libGL.*
-BUILDLINK_FILES.Mesa-1+= lib/libGLU.*
-BUILDLINK_FILES.Mesa-1+= lib/libglut.*
+BUILDLINK_PREFIX.Mesa-x11base= ${X11BASE}
+BUILDLINK_FILES.Mesa-x11base= include/GL/*
+BUILDLINK_FILES.Mesa-x11base+= lib/libGL.*
+BUILDLINK_FILES.Mesa-x11base+= lib/libGLU.*
+BUILDLINK_FILES.Mesa-x11base+= lib/libglut.*
-BUILDLINK_TARGETS.Mesa= Mesa-1-buildlink
+BUILDLINK_TARGETS.Mesa= Mesa-x11base-buildlink
-BUILDLINK_PREFIX.Mesa-2= ${LOCALBASE}
-BUILDLINK_FILES.Mesa-2= include/GL/*
-BUILDLINK_FILES.Mesa-2+= lib/libGL.*
-BUILDLINK_FILES.Mesa-2+= lib/libGLU.*
-BUILDLINK_FILES.Mesa-2+= lib/libglut.*
+BUILDLINK_PREFIX.Mesa-localbase= ${LOCALBASE}
+BUILDLINK_FILES.Mesa-localbase= include/GL/*
+BUILDLINK_FILES.Mesa-localbase+= lib/libGL.*
+BUILDLINK_FILES.Mesa-localbase+= lib/libGLU.*
+BUILDLINK_FILES.Mesa-localbase+= lib/libglut.*
-BUILDLINK_TARGETS.Mesa+= Mesa-2-buildlink
+BUILDLINK_TARGETS.Mesa+= Mesa-localbase-buildlink
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.Mesa}
pre-configure: ${BUILDLINK_TARGETS.Mesa}
-Mesa-1-buildlink: _BUILDLINK_USE
-Mesa-2-buildlink: _BUILDLINK_USE
+Mesa-x11base-buildlink: _BUILDLINK_USE
+Mesa-localbase-buildlink: _BUILDLINK_USE
.include "../../mk/bsd.buildlink.mk"