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 | d007a14df076c21be62d4558c088227b077d25d6 (patch) | |
tree | eab5ba3128eb6e2393c1108f6b3ff1a01fe155ec /graphics | |
parent | 7b1cdd255d55b39eddb741de64c9b36d0e6659c2 (diff) | |
download | pkgsrc-d007a14df076c21be62d4558c088227b077d25d6.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: |