summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-10-30 12:28:56 +0000
committergrant <grant@pkgsrc.org>2003-10-30 12:28:56 +0000
commit763dcf2df87c955122e8b6345d72a5e6465abbac (patch)
treeeab5ba3128eb6e2393c1108f6b3ff1a01fe155ec /graphics
parent260811062db1f8c4c6a45f3ca9eefff091b334d0 (diff)
downloadpkgsrc-763dcf2df87c955122e8b6345d72a5e6465abbac.tar.gz
add -I${BUILDLINK_PREFIX.freetype2}/include/freetype2 to CPPFLAGS so
that packages can find header files in freetype/.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/freetype2/buildlink2.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/freetype2/buildlink2.mk b/graphics/freetype2/buildlink2.mk
index 4107f6aeb1f..972f0b04f3f 100644
--- a/graphics/freetype2/buildlink2.mk
+++ b/graphics/freetype2/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.10 2003/10/28 18:55:36 reed Exp $
+# $NetBSD: buildlink2.mk,v 1.11 2003/10/30 12:28:56 grant Exp $
.if !defined(FREETYPE2_BUILDLINK2_MK)
FREETYPE2_BUILDLINK2_MK= # defined
@@ -88,6 +88,10 @@ LIBTOOL_ARCHIVE_UNTRANSFORM_SED+= \
-e "s|${LOCALBASE}/lib/libfreetype.la|${_BLNK_FREETYPE2_LDFLAGS}|g"
.endif
+# packages expect to find the freetype headers in freetype/, so append
+# the right path to CPPFLAGS.
+CPPFLAGS+= -I${BUILDLINK_PREFIX.freetype2}/include/freetype2
+
freetype2-buildlink: _BUILDLINK_USE
freetype2-buildlink-config: