blob: 972a832c3f20ca52557ccf3e3bfa590a416bb8c5 (
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
40
41
42
43
44
45
46
47
48
49
|
# $NetBSD: Makefile.common,v 1.17 2005/04/11 21:44:53 tv Exp $
DISTNAME= libao-0.8.6
CATEGORIES= audio devel
MASTER_SITES= http://downloads.xiph.org/releases/ao/
MAINTAINER= lukem@NetBSD.org
HOMEPAGE= http://www.xiph.org/ao/
COMMENT= Cross-platform audio library
DISTINFO_FILE= ${.CURDIR}/../../audio/libao/distinfo
PATCHDIR= ${.CURDIR}/../../audio/libao/patches
GNU_CONFIGURE= yes
USE_GNU_TOOLS+= make
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= ao.pc.in
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "FreeBSD"
PLIST_SUBST+= LIBOSS=""
PLIST_SUBST+= LIBSUN="@comment "
.elif ${OPSYS} == "SunOS"
PLIST_SUBST+= LIBOSS="@comment "
PLIST_SUBST+= LIBSUN=""
.elif ${OPSYS} == "Linux" && empty(MACHINE_PLATFORM:MLinux-*-sparc*)
PLIST_SUBST+= LIBOSS=""
PLIST_SUBST+= LIBSUN="@comment "
.elif ${OPSYS} == "Interix"
PLIST_SUBST+= LIBOSS="@comment "
PLIST_SUBST+= LIBSUN="@comment "
.elif ${OPSYS} == "Darwin"
PLIST_SUBST+= LIBOSS="@comment "
PLIST_SUBST+= LIBSUN="@comment "
.else
PLIST_SUBST+= LIBOSS=""
PLIST_SUBST+= LIBSUN=""
.endif
CONFIGURE_ARGS+= --disable-alsa
CONFIGURE_ARGS+= --disable-alsa09
CONFIGURE_ARGS+= --disable-arts
CONFIGURE_ARGS+= --disable-esd
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/ossaudio.buildlink3.mk"
|