d3c505e600
- use newly added alphasort() instead of LGPLv2.1+ patch - fix async handler [2] - fix implicit declarations of calloc/free [3] - disable ARIFF_OSS option by default, except 7.x [4] - add 3 more mirrors from alsa wiki + gentoo as a backup - move alsa mirrors to bsd.sites.mk Changes: http://www.alsa-project.org/main/index.php/Changes_v1.0.25_v1.0.26 PR: ports/171601 [1] PR: ports/169770 [2] PR: ports/170457 [3] PR: ports/170473 [4] Obtained from: PkgSrc [2] Submitted by: Jan Beich <jbeich@tormail.org> Approved by: maintainer
39 lines
1 KiB
Makefile
39 lines
1 KiB
Makefile
# New ports collection makefile for: alsa-lib
|
|
# Date created: June 29, 2009
|
|
# Whom: Aragon Gouveia <aragon@phat.za.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= alsa-lib
|
|
PORTVERSION= 1.0.26
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ALSA/lib \
|
|
GENTOO/distfiles
|
|
|
|
MAINTAINER= aragon@phat.za.net
|
|
COMMENT= ALSA compatibility library
|
|
|
|
USE_BZIP2= yes
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+=--disable-aload --disable-python \
|
|
--with-pkgconfdir="${PREFIX}/libdata/pkgconfig"
|
|
|
|
post-patch: .SILENT
|
|
${REINPLACE_CMD} -e '/LIBS/ { s/-ldl//g; s/-lrt//g; }' \
|
|
-e '/-D_GNU_SOURCE/d' \
|
|
-e '/lt_cv_dlopen/s/-ldl//g' ${WRKSRC}/configure
|
|
${REINPLACE_CMD} '/LIBADD/s/-ldl//g' \
|
|
${WRKSRC}/modules/mixer/simple/Makefile.in
|
|
${REINPLACE_CMD} 's|/etc|${PREFIX}&|g' \
|
|
${WRKSRC}/src/conf/alsa.conf
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${FILESDIR}/asound.conf.sample ${PREFIX}/etc
|
|
@if [ ! -f ${PREFIX}/etc/asound.conf ]; then \
|
|
${CP} -p ${PREFIX}/etc/asound.conf.sample \
|
|
${PREFIX}/etc/asound.conf ; \
|
|
fi
|
|
|
|
.include <bsd.port.mk>
|