pkgsrc/graphics/freetype2/buildlink3.mk
tron 2896f4fdd3 Try to fix the fallout caused by the fix for PR pkg/47882. Part 1:
Reduce "freetype2" API dependence to version 2.4.5 which is what
NetBSD 6.1 and NetBSD-current ship with. This version is new enough
even for the latest "pango" package.

This fixes problems under NetBSD-current where pkgsrc tried to use
the native "fontconfig" and pkgsrc "freetype2" which doesn't work
very well.
2013-06-04 18:02:58 +00:00

20 lines
640 B
Makefile

# $NetBSD: buildlink3.mk,v 1.36 2013/06/04 18:02:58 tron Exp $
BUILDLINK_TREE+= freetype2
.if !defined(FREETYPE2_BUILDLINK3_MK)
FREETYPE2_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.4.5
BUILDLINK_ABI_DEPENDS.freetype2+= freetype2>=2.4.11
BUILDLINK_PKGSRCDIR.freetype2?= ../../graphics/freetype2
BUILDLINK_INCDIRS.freetype2?= include/freetype2
FREETYPE_CONFIG?= ${BUILDLINK_PREFIX.freetype2}/bin/freetype-config
CONFIGURE_ENV+= FREETYPE_CONFIG=${FREETYPE_CONFIG:Q}
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.endif # FREETYPE2_BUILDLINK3_MK
BUILDLINK_TREE+= -freetype2