blob: 3d6182de179f4f7df5cf53124fc51e2bd47df63f (
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
33
34
35
36
37
38
39
|
# $NetBSD: buildlink3.mk,v 1.5 2006/02/05 23:09:28 joerg Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
AALIB_BUILDLINK3_MK:= ${AALIB_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= aalib
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Naalib}
BUILDLINK_PACKAGES+= aalib
.if !empty(AALIB_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.aalib+= aalib>=1.4.0.4
BUILDLINK_RECOMMENDED.aalib+= aalib>=1.4.0.5nb2
BUILDLINK_PKGSRCDIR.aalib?= ../../graphics/aalib
.endif # AALIB_BUILDLINK3_MK
.if !defined(PKG_BUILD_OPTIONS.aalib)
PKG_BUILD_OPTIONS.aalib!= \
cd ${BUILDLINK_PKGSRCDIR.aalib} && \
${MAKE} show-var ${MAKEFLAGS} VARNAME=PKG_OPTIONS
MAKEFLAGS+= PKG_BUILD_OPTIONS.aalib=${PKG_BUILD_OPTIONS.aalib:Q}
.endif
MAKEVARS+= PKG_BUILD_OPTIONS.aalib
.if !empty(PKG_BUILD_OPTIONS.aalib:Mncurses)
. include "../../devel/ncurses/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.aalib:Mslang)
. include "../../devel/libslang/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.aalib:Mx11)
. include "../../mk/x11.buildlink3.mk"
.endif
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|