aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mplayer2
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-05-30 20:39:12 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-05-30 20:39:12 +0000
commit3fef6c52f0fc4ef44d16f7c2f73fab20c9c251e5 (patch)
treec6487f309b5d29e868c4ea46df98e320c50df957 /multimedia/mplayer2
parent0b206685de74445cde7f184f18a43c7ac16172a6 (diff)
downloadports-3fef6c52f0fc4ef44d16f7c2f73fab20c9c251e5.tar.gz
ports-3fef6c52f0fc4ef44d16f7c2f73fab20c9c251e5.zip
Notes
Diffstat (limited to 'multimedia/mplayer2')
-rw-r--r--multimedia/mplayer2/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/multimedia/mplayer2/Makefile b/multimedia/mplayer2/Makefile
index 6973916d866a..c7e44fe12c48 100644
--- a/multimedia/mplayer2/Makefile
+++ b/multimedia/mplayer2/Makefile
@@ -2,7 +2,7 @@
PORTNAME= mplayer2
PORTVERSION= ${MPLAYER2_PORT_VERSION}
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= multimedia audio
MASTER_SITES= LOCAL/gblach/
@@ -23,9 +23,7 @@ USES= cpe gmake iconv ncurses pkgconfig tar:xz
HAS_CONFIGURE= yes
CONFIGURE_ENV= TMPDIR="${WRKSRC}"
CONFIGURE_ARGS= --cc=${CC} \
- --extra-cflags='-I${LOCALBASE}/include/portaudio2' \
- --extra-libs='-lavresample' \
- --extra-ldflags='-L${LOCALBASE}/lib/portaudio2' \
+ --extra-libs='-lavresample ${PORTAUDIOLIB}' \
--mandir=${PREFIX}/man \
--enable-libavresample \
--disable-alsa \
@@ -141,7 +139,8 @@ CONFIGURE_ARGS+= --disable-pulse
.endif
.if ${PORT_OPTIONS:MPORTAUDIO}
-LIB_DEPENDS+= libportaudio.so.2:${PORTSDIR}/audio/portaudio2
+LIB_DEPENDS+= libportaudio.so:${PORTSDIR}/audio/portaudio2
+PORTAUDIOLIB= -lportaudio
.else
CONFIGURE_ARGS+= --disable-portaudio
.endif