summaryrefslogtreecommitdiff
path: root/audio/bmp/Makefile
blob: 19122a5c8012dada8cba5ef161e9584884ae1b4e (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
# $NetBSD: Makefile,v 1.24 2008/03/06 14:53:47 wiz Exp $
#

BMP_ENABLE_ENCODERS=	yes

.include "Makefile.common"

PKGREVISION=		5

DEPENDS+=		unzip-[0-9]*:../../archivers/unzip

.if ${OPSYS} == "Darwin"
PLIST_SUBST+=	CDAUDIO="@comment "
.else
PLIST_SUBST+=	CDAUDIO=""
.endif
PRINT_PLIST_AWK+=	/cdaudio/ { print "$${CDAUDIO}" $$0; next }

# XXX Workaround a crash during shutdown that happens when dlclose(3)ing
# any open plugin.  libstdc++ gets dynamically linked in when the id3lib
# library is loaded, and is the one causing problems.  See PR pkg/26846
# for more information.
USE_LANGUAGES=		c c++
LDFLAGS.NetBSD+=	-lstdc++ -lm

.include "../../audio/id3lib/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"

.include "../../mk/bsd.pkg.mk"