pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/freetype2 add -I${BUILDLINK_PREFIX.freetype2}...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/287f3d1f4864
branches:  trunk
changeset: 463160:287f3d1f4864
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Oct 30 12:28:56 2003 +0000

description:
add -I${BUILDLINK_PREFIX.freetype2}/include/freetype2 to CPPFLAGS so
that packages can find header files in freetype/.

diffstat:

 graphics/freetype2/buildlink2.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 0cb33d337805 -r 287f3d1f4864 graphics/freetype2/buildlink2.mk
--- a/graphics/freetype2/buildlink2.mk  Thu Oct 30 12:13:40 2003 +0000
+++ b/graphics/freetype2/buildlink2.mk  Thu Oct 30 12:28:56 2003 +0000
@@ -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 @@
        -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:



Home | Main Index | Thread Index | Old Index