17e39f419d
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.
24 lines
569 B
Makefile
24 lines
569 B
Makefile
# $NetBSD: buildlink3.mk,v 1.6 2018/01/07 13:04:38 rillig Exp $
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
.if ${X11_TYPE} != "modular" && \
|
|
!exists(${X11BASE}/lib/pkgconfig/sm.pc) && \
|
|
!exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/sm.pc)
|
|
.include "../../mk/x11.buildlink3.mk"
|
|
.else
|
|
|
|
BUILDLINK_TREE+= libSM
|
|
|
|
. if !defined(LIBSM_BUILDLINK3_MK)
|
|
LIBSM_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.libSM+= libSM>=0.99.2
|
|
BUILDLINK_PKGSRCDIR.libSM?= ../../x11/libSM
|
|
|
|
.include "../../x11/libICE/buildlink3.mk"
|
|
. endif # LIBSM_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -libSM
|
|
|
|
.endif
|