pkgsrc/devel/ncursesw/buildlink3.mk
rillig 17e39f419d 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.
2018-01-07 13:03:53 +00:00

32 lines
956 B
Makefile

# $NetBSD: buildlink3.mk,v 1.8 2018/01/07 13:04:07 rillig Exp $
BUILDLINK_TREE+= ncursesw
.if !defined(NCURSESW_BUILDLINK3_MK)
NCURSESW_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ncursesw+= ncursesw>=5.5
BUILDLINK_ABI_DEPENDS.ncursesw+= ncursesw>=6.0
BUILDLINK_PKGSRCDIR.ncursesw?= ../../devel/ncursesw
BUILDLINK_LIBNAME.ncursesw= ncursesw
BUILDLINK_LDADD.ncursesw= ${BUILDLINK_LIBNAME.ncursesw:S/^/-l/:S/^-l$//}
CHECK_BUILTIN.ncursesw:= yes
.include "builtin.mk"
CHECK_BUILTIN.ncursesw:= no
.if defined(IS_BUILTIN.ncursesw) && !empty(IS_BUILTIN.ncursesw:M[nN][oO])
PKG_BUILD_DEPENDS.ncurses!= \
echo ""; \
${PKG_INFO} -qn ncursesw 2> /dev/null \
|| { cd ../../devel/ncursesw && ${MAKE} ${MAKEFLAGS} show-depends; }
. for d in ${PKG_BUILD_DEPENDS.ncurses:Mncurses[-><]*}
BUILDLINK_API_DEPENDS.ncurses+= ${d}
. endfor
USE_NCURSES= yes
.endif
.include "../../devel/ncurses/buildlink3.mk"
.endif # NCURSESW_BUILDLINK3_MK
BUILDLINK_TREE+= -ncursesw