9d5b1e7ac2
as appropriate. This is required for X11_TYPE=native on Red Hat Linux.
29 lines
816 B
Makefile
29 lines
816 B
Makefile
# $NetBSD: buildlink3.mk,v 1.13 2014/03/10 11:05:52 jperkin Exp $
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
.if ${X11_TYPE} != "modular" && \
|
|
!exists(${X11BASE}/lib/pkgconfig/xft.pc) && \
|
|
!exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/xft.pc)
|
|
.include "../../fonts/Xft2/buildlink3.mk"
|
|
.else
|
|
|
|
BUILDLINK_TREE+= libXft
|
|
|
|
.if !defined(LIBXFT_BUILDLINK3_MK)
|
|
LIBXFT_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.libXft+= libXft>=2.1.10
|
|
BUILDLINK_ABI_DEPENDS.libXft+= libXft>=2.3.1nb3
|
|
BUILDLINK_PKGSRCDIR.libXft?= ../../x11/libXft
|
|
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../x11/libXrender/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../x11/xproto/buildlink3.mk"
|
|
.endif # LIBXFT_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -libXft
|
|
|
|
.endif
|