blob: b538e9ad82c41a7079f492585a6d04703a92c16a (
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
|
# $NetBSD: buildlink3.mk,v 1.6 2005/06/03 13:19:22 wiz Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMIKMOD_BUILDLINK3_MK:= ${LIBMIKMOD_BUILDLINK3_MK}+
.include "../../mk/bsd.prefs.mk"
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= libmikmod
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmikmod}
BUILDLINK_PACKAGES+= libmikmod
.if !empty(LIBMIKMOD_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.libmikmod+= libmikmod>=3.1.9
BUILDLINK_RECOMMENDED.libmikmod+= libmikmod>=3.1.11.1nb1
BUILDLINK_PKGSRCDIR.libmikmod?= ../../audio/libmikmod
.endif # LIBMIKMOD_BUILDLINK3_MK
.if !defined(PKG_BUILD_OPTIONS.libmikmod)
PKG_BUILD_OPTIONS.libmikmod!= cd ${BUILDLINK_PKGSRCDIR.libmikmod} && \
${MAKE} show-var ${MAKEFLAGS} VARNAME=PKG_OPTIONS
MAKEFLAGS+= PKG_BUILD_OPTIONS.libmikmod=${PKG_BUILD_OPTIONS.libmikmod:Q}
.endif
MAKEVARS+= PKG_BUILD_OPTIONS.libmikmod
# On NetBSD, libmikmod dynamically loads esound, so there is
# no library dependency
# XXX: add cases for other OPSYS that do that!
.if !empty(PKG_BUILD_OPTIONS.libmikmod:Mesound) && \
empty(OPSYS:MNetBSD)
. include "../../audio/esound/buildlink3.mk"
.endif
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|