diff options
author | jlam <jlam> | 2004-01-24 01:46:16 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-01-24 01:46:16 +0000 |
commit | cd36c2840e7019d42bcb915a11fe7779fe9f394a (patch) | |
tree | 30f3b40a6dee8d1fe56ce78fd703c4a39869197e /graphics/freetype2 | |
parent | ce24c0314e4cf1a0e92119565898a77288d91de9 (diff) | |
download | pkgsrc-cd36c2840e7019d42bcb915a11fe7779fe9f394a.tar.gz |
Make sure that <freetype/freetype.h> is found. Also if we use the
XFree86-supplied freetype2, then set USE_X11.
Diffstat (limited to 'graphics/freetype2')
-rw-r--r-- | graphics/freetype2/buildlink3.mk | 4 |
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 |