summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-24 01:46:16 +0000
committerjlam <jlam@pkgsrc.org>2004-01-24 01:46:16 +0000
commit77c86c52b497dbd4ae1e32e8bf17c34d104d993d (patch)
tree30f3b40a6dee8d1fe56ce78fd703c4a39869197e
parentcdd6ea415d073e4525b1df92a19bd32f163a40f1 (diff)
downloadpkgsrc-77c86c52b497dbd4ae1e32e8bf17c34d104d993d.tar.gz
Make sure that <freetype/freetype.h> is found. Also if we use the
XFree86-supplied freetype2, then set USE_X11.
-rw-r--r--graphics/freetype2/buildlink3.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/freetype2/buildlink3.mk b/graphics/freetype2/buildlink3.mk
index bc7cafb0be8..68f558faf0c 100644
--- a/graphics/freetype2/buildlink3.mk
+++ b/graphics/freetype2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2004/01/05 11:05:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2004/01/24 01:46:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FREETYPE2_BUILDLINK3_MK:= ${FREETYPE2_BUILDLINK3_MK}+
@@ -9,6 +9,7 @@ FREETYPE2_BUILDLINK3_MK:= ${FREETYPE2_BUILDLINK3_MK}+
BUILDLINK_PACKAGES+= freetype2
BUILDLINK_DEPENDS.freetype2?= freetype2>=2.0.1
BUILDLINK_PKGSRCDIR.freetype2?= ../../graphics/freetype2
+BUILDLINK_INCDIRS.freetype2?= include/freetype2
.endif # FREETYPE2_BUILDLINK3_MK
BUILDLINK_CHECK_BUILTIN.freetype2?= NO
@@ -78,6 +79,7 @@ BUILDLINK_DEPENDS+= freetype2
.if !empty(FREETYPE2_BUILDLINK3_MK:M+)
. if !empty(BUILDLINK_USE_BUILTIN.freetype2:M[yY][eE][sS])
BUILDLINK_PREFIX.freetype2= ${X11BASE}
+USE_X11= yes
. endif
FREETYPE_CONFIG?= ${BUILDLINK_PREFIX.freetype2}/bin/freetype-config