pkgsrc/x11/libXext/buildlink3.mk
2018-03-07 11:57:28 +00:00

25 lines
634 B
Makefile

# $NetBSD: buildlink3.mk,v 1.12 2018/03/07 11:57:36 wiz Exp $
.include "../../mk/bsd.fast.prefs.mk"
.if ${X11_TYPE} != "modular" && \
!exists(${X11BASE}/lib/pkgconfig/xext.pc) && \
!exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/xext.pc)
.include "../../mk/x11.buildlink3.mk"
.else
BUILDLINK_TREE+= libXext
. if !defined(LIBXEXT_BUILDLINK3_MK)
LIBXEXT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libXext+= libXext>=0.99.0
BUILDLINK_PKGSRCDIR.libXext?= ../../x11/libXext
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/xorgproto/buildlink3.mk"
. endif # LIBXEXT_BUILDLINK3_MK
BUILDLINK_TREE+= -libXext
.endif