9d5b1e7ac2
as appropriate. This is required for X11_TYPE=native on Red Hat Linux.
25 lines
672 B
Makefile
25 lines
672 B
Makefile
# $NetBSD: buildlink3.mk,v 1.5 2014/03/10 11:05:52 jperkin Exp $
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
.if ${X11_TYPE} != "modular" && \
|
|
!exists(${X11BASE}/lib/pkgconfig/xrender.pc) && \
|
|
!exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/xrender.pc)
|
|
.include "../../x11/Xrender/buildlink3.mk"
|
|
.else
|
|
|
|
BUILDLINK_TREE+= libXrender
|
|
|
|
.if !defined(LIBXRENDER_BUILDLINK3_MK)
|
|
LIBXRENDER_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.libXrender+= libXrender>=0.9.2
|
|
BUILDLINK_PKGSRCDIR.libXrender?= ../../x11/libXrender
|
|
|
|
.include "../../x11/renderproto/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.endif # LIBXRENDER_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -libXrender
|
|
|
|
.endif
|