[BACK]Return to buildlink3.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / libXi

File: [cvs.NetBSD.org] / pkgsrc / x11 / libXi / buildlink3.mk (download)

Revision 1.9, Sun Jan 7 13:04:39 2018 UTC (6 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.8: +3 -3 lines

Fix indentation in buildlink3.mk files.

The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.

# $NetBSD: buildlink3.mk,v 1.9 2018/01/07 13:04:39 rillig Exp $

.include "../../mk/bsd.fast.prefs.mk"

.if ${X11_TYPE} != "modular" && \
    !defined(BUILDLINK_API_DEPENDS.libXi)
.include "../../mk/x11.buildlink3.mk"
.else

BUILDLINK_TREE+=	libXi

.  if !defined(LIBXI_BUILDLINK3_MK)
LIBXI_BUILDLINK3_MK:=

.  if !defined(USE_BUILTIN.libXi)
CHECK_BUILTIN.libXi:=	yes
.    include "../../x11/libXi/builtin.mk"
CHECK_BUILTIN.libXi:=	no
.  endif

BUILDLINK_API_DEPENDS.libXi+=	libXi>=1.0.0
BUILDLINK_PKGSRCDIR.libXi?=	../../x11/libXi

.  if !empty(USE_BUILTIN.libXi:M[Nn][Oo])
BUILDLINK_API_DEPENDS.inputproto+=	inputproto>=2.3
BUILDLINK_API_DEPENDS.libX11+=		libX11>=1.5
BUILDLINK_API_DEPENDS.libXext+=		libXext>=1.1
BUILDLINK_API_DEPENDS.xextproto+=	xextproto>=7.0.3
BUILDLINK_API_DEPENDS.xproto+=		xproto>=7.0.13
.  endif
.include "../../x11/inputproto/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXfixes/buildlink3.mk"
.include "../../x11/xproto/buildlink3.mk"
.  endif # LIBXI_BUILDLINK3_MK

BUILDLINK_TREE+=	-libXi

.endif