summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-05 07:17:14 +0000
committerjlam <jlam@pkgsrc.org>2004-02-05 07:17:14 +0000
commit9cbd62fd0ae1890790c971e914f6ff3cf6203177 (patch)
treeedbbed6f9491b43337c846644df6d1c3e8ce8f32 /graphics
parent4006dd8d3c16be15e01d264394098f7a0798db4c (diff)
downloadpkgsrc-9cbd62fd0ae1890790c971e914f6ff3cf6203177.tar.gz
Make PREFER_PKGSRC just yes/no or a list of packages. This makes it
simpler to understand.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/MesaLib/buildlink3.mk8
-rw-r--r--graphics/freetype2/buildlink2.mk8
-rw-r--r--graphics/freetype2/buildlink3.mk8
-rw-r--r--graphics/glu/buildlink3.mk8
4 files changed, 12 insertions, 20 deletions
diff --git a/graphics/MesaLib/buildlink3.mk b/graphics/MesaLib/buildlink3.mk
index 88db1c81b85..14b8973a042 100644
--- a/graphics/MesaLib/buildlink3.mk
+++ b/graphics/MesaLib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2004/02/05 07:06:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2004/02/05 07:17:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MESALIB_BUILDLINK3_MK:= ${MESALIB_BUILDLINK3_MK}+
@@ -31,11 +31,9 @@ BUILDLINK_IS_BUILTIN.MesaLib!= \
MAKEFLAGS+= BUILDLINK_IS_BUILTIN.MesaLib="${BUILDLINK_IS_BUILTIN.MesaLib}"
.endif
-.if defined(PREFER_PKGSRC)
-. if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
- !empty(PREFER_PKGSRC:MMesaLib)
+.if !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+ !empty(PREFER_PKGSRC:MMesaLib)
BUILDLINK_USE_BUILTIN.MesaLib= NO
-. endif
.endif
.if !empty(BUILDLINK_CHECK_BUILTIN.MesaLib:M[yY][eE][sS])
diff --git a/graphics/freetype2/buildlink2.mk b/graphics/freetype2/buildlink2.mk
index 6606c101be8..78a3e34c609 100644
--- a/graphics/freetype2/buildlink2.mk
+++ b/graphics/freetype2/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.13 2004/02/05 07:06:15 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.14 2004/02/05 07:17:14 jlam Exp $
.if !defined(FREETYPE2_BUILDLINK2_MK)
FREETYPE2_BUILDLINK2_MK= # defined
@@ -51,11 +51,9 @@ _NEED_FREETYPE2!= \
. endif
.endif
-.if defined(PREFER_PKGSRC)
-. if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
- !empty(PREFER_PKGSRC:Mfreetype2)
+.if !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+ !empty(PREFER_PKGSRC:Mfreetype2)
_NEED_FREETYPE2= YES
-. endif
.endif
.if ${_NEED_FREETYPE2} == "YES"
diff --git a/graphics/freetype2/buildlink3.mk b/graphics/freetype2/buildlink3.mk
index 0b81f4365e8..b70f41163ba 100644
--- a/graphics/freetype2/buildlink3.mk
+++ b/graphics/freetype2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2004/02/05 07:06:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2004/02/05 07:17:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FREETYPE2_BUILDLINK3_MK:= ${FREETYPE2_BUILDLINK3_MK}+
@@ -31,11 +31,9 @@ MAKEFLAGS+= \
BUILDLINK_IS_BUILTIN.freetype2="${BUILDLINK_IS_BUILTIN.freetype2}"
.endif
-.if defined(PREFER_PKGSRC)
-. if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
- !empty(PREFER_PKGSRC:Mfreetype2)
+.if !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+ !empty(PREFER_PKGSRC:Mfreetype2)
BUILDLINK_USE_BUILTIN.freetype2= NO
-. endif
.endif
.if !empty(BUILDLINK_CHECK_BUILTIN.freetype2:M[yY][eE][sS])
diff --git a/graphics/glu/buildlink3.mk b/graphics/glu/buildlink3.mk
index 0da98567ae5..0575a372d98 100644
--- a/graphics/glu/buildlink3.mk
+++ b/graphics/glu/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2004/02/05 07:06:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2004/02/05 07:17:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GLU_BUILDLINK3_MK:= ${GLU_BUILDLINK3_MK}+
@@ -31,11 +31,9 @@ BUILDLINK_IS_BUILTIN.glu!= \
MAKEFLAGS+= BUILDLINK_IS_BUILTIN.glu="${BUILDLINK_IS_BUILTIN.glu}"
.endif
-.if defined(PREFER_PKGSRC)
-. if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
- !empty(PREFER_PKGSRC:Mglu)
+.if !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+ !empty(PREFER_PKGSRC:Mglu)
BUILDLINK_USE_BUILTIN.glu= NO
-. endif
.endif
.if !empty(BUILDLINK_CHECK_BUILTIN.glu:M[yY][eE][sS])