266e6e4869
If the base fontconfig is old, and some but not all fontconfig-using packages need newer, we end up with some binaries having two different fontconfigs. Adjust fontconfig's API_DEPENDS to 2.11.91, because pango needs at least that. This means that pkgsrc fontconfig will always be used on netbsd-8. The only sound approach appears to be a hard choice of system vs pkgsrc fontconfig, without per-package overrides, but that's a bigger step. We could also consider changing API_DEPENDS to match the pkgsrc fontconfig, so base is only used if newer. (Needs a revbump.) As discussed on tech-pkg.
20 lines
668 B
Makefile
20 lines
668 B
Makefile
# $NetBSD: buildlink3.mk,v 1.37 2019/09/09 12:22:03 gdt Exp $
|
|
|
|
BUILDLINK_TREE+= fontconfig
|
|
|
|
.if !defined(FONTCONFIG_BUILDLINK3_MK)
|
|
FONTCONFIG_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.fontconfig+= fontconfig>=2.11.91
|
|
BUILDLINK_ABI_DEPENDS.fontconfig+= fontconfig>=2.13.0
|
|
BUILDLINK_PKGSRCDIR.fontconfig?= ../../fonts/fontconfig
|
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../devel/libuuid/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../textproc/expat/buildlink3.mk"
|
|
.endif # FONTCONFIG_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -fontconfig
|