blob: 831aa1276ad975c33ebf4941d2d0b9eac6952130 (
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
|
# $NetBSD: buildlink3.mk,v 1.9 2006/04/06 06:21:34 reed Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBAO_BUILDLINK3_MK:= ${LIBAO_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= libao
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibao}
BUILDLINK_PACKAGES+= libao
.if !empty(LIBAO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libao+= libao>=0.8.4
BUILDLINK_ABI_DEPENDS.libao+= libao>=0.8.6nb3
BUILDLINK_PKGSRCDIR.libao?= ../../audio/libao
. if !defined(_LIBAO_BUILDING_PLUGIN)
. include "../../mk/bsd.prefs.mk"
. if ${OPSYS} != "Darwin" && ${OPSYS} != "Interix" && ${OPSYS} != "SunOS"
_LIBAO_DEFAULT_PLUGIN= oss
. elif ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS"
_LIBAO_DEFAULT_PLUGIN= sun
. else
_LIBAO_DEFAULT_PLUGIN=
. endif
. if !empty(_LIBAO_DEFAULT_PLUGIN)
DEPENDS+= libao-[a-z]*-[0-9]*:../../audio/libao-${_LIBAO_DEFAULT_PLUGIN}
. endif
. endif
.endif # LIBAO_BUILDLINK3_MK
PRINT_PLIST_AWK+= /^@dirrm lib\/ao\/plugins-2$$/ \
{ print "@comment in libao: " $$0; next }
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|