blob: ba3de9266566a3b979be1bfb6b76cfbeaa20b5bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $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
|