pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/freetype2 Make sure that <freetype/freetype.h...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a31b0a77b1c5
branches:  trunk
changeset: 466869:a31b0a77b1c5
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Jan 24 01:46:16 2004 +0000

description:
Make sure that <freetype/freetype.h> is found.  Also if we use the
XFree86-supplied freetype2, then set USE_X11.

diffstat:

 graphics/freetype2/buildlink3.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 94d73997ed14 -r a31b0a77b1c5 graphics/freetype2/buildlink3.mk
--- a/graphics/freetype2/buildlink3.mk  Sat Jan 24 01:33:49 2004 +0000
+++ b/graphics/freetype2/buildlink3.mk  Sat Jan 24 01:46:16 2004 +0000
@@ -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 @@
 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 @@
 .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



Home | Main Index | Thread Index | Old Index