diff options
author | grant <grant@pkgsrc.org> | 2003-10-30 12:28:56 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-10-30 12:28:56 +0000 |
commit | 763dcf2df87c955122e8b6345d72a5e6465abbac (patch) | |
tree | eab5ba3128eb6e2393c1108f6b3ff1a01fe155ec /graphics | |
parent | 260811062db1f8c4c6a45f3ca9eefff091b334d0 (diff) | |
download | pkgsrc-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.mk | 6 |
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: |