summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjlam <jlam>2003-09-14 01:47:51 +0000
committerjlam <jlam>2003-09-14 01:47:51 +0000
commitacc16ef54605d7f283feaca3c76284a760d69104 (patch)
tree1bdd777e66a16afd3be425ee7d9b25213e0d0fd8 /graphics
parent7d9a3872855b46ad2a8fdb8e92593f96bb66c474 (diff)
downloadpkgsrc-acc16ef54605d7f283feaca3c76284a760d69104.tar.gz
Provide definitions for BUILDLINK_PREFIX.<pkg> when the dependency may be
satisfied by a base system (X11R6) component.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/MesaLib/buildlink3.mk4
-rw-r--r--graphics/freetype2/buildlink3.mk4
-rw-r--r--graphics/glu/buildlink3.mk4
-rw-r--r--graphics/xpm/buildlink3.mk4
4 files changed, 12 insertions, 4 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/\+$//}
diff --git a/graphics/freetype2/buildlink3.mk b/graphics/freetype2/buildlink3.mk
index 518098c6d20..e8cb8ad1e70 100644
--- a/graphics/freetype2/buildlink3.mk
+++ b/graphics/freetype2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2003/09/13 23:21:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2003/09/14 01:47:51 jlam Exp $
.if !defined(FREETYPE2_BUILDLINK3_MK)
FREETYPE2_BUILDLINK3_MK= # defined
@@ -67,6 +67,8 @@ BUILDLINK_DEPENDS.freetype2= freetype2>=2.1.3
BUILDLINK_DEPENDS+= freetype2
. endif
BUILDLINK_PACKAGES+= freetype2
+.else
+BUILDLINK_PREFIX.freetype2= ${X11BASE}
.endif
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//}
diff --git a/graphics/glu/buildlink3.mk b/graphics/glu/buildlink3.mk
index 5f82ef56a53..16aaec0de80 100644
--- a/graphics/glu/buildlink3.mk
+++ b/graphics/glu/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2003/09/13 23:21:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2003/09/14 01:47:51 jlam Exp $
.if !defined(GLU_BUILDLINK3_MK)
GLU_BUILDLINK3_MK= # defined
@@ -63,6 +63,8 @@ BUILDLINK_DEPENDS.glu= glu>=5.0
BUILDLINK_DEPENDS+= glu
. endif
BUILDLINK_PACKAGES+= glu
+.else
+BUILDLINK_PREFIX.glu= ${X11BASE}
.endif
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//}
diff --git a/graphics/xpm/buildlink3.mk b/graphics/xpm/buildlink3.mk
index 29103f69718..c7db9041cba 100644
--- a/graphics/xpm/buildlink3.mk
+++ b/graphics/xpm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2003/09/13 23:21:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2003/09/14 01:47:52 jlam Exp $
.if !defined(XPM_BUILDLINK3_MK)
XPM_BUILDLINK3_MK= # defined
@@ -73,6 +73,8 @@ _NEED_XPM!= \
BUILDLINK_DEPENDS+= xpm
. endif
BUILDLINK_PACKAGES+= xpm
+.else
+BUILDLINK_PREFIX.xpm= ${X11BASE}
.endif
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//}