aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mplayer
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2013-12-25 23:29:34 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2013-12-25 23:29:34 +0000
commit1df9d247be410e0fd8c43e281e7aaa314fef30e5 (patch)
tree5d26acd476642c3b773f75db8040205ff9dc4d29 /multimedia/mplayer
parent6bf16e73115b4c62539ac4f0a4f6ccf1270eb26f (diff)
downloadports-1df9d247be410e0fd8c43e281e7aaa314fef30e5.tar.gz
ports-1df9d247be410e0fd8c43e281e7aaa314fef30e5.zip
Notes
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r--multimedia/mplayer/Makefile.options6
-rw-r--r--multimedia/mplayer/Makefile.optvars3
2 files changed, 3 insertions, 6 deletions
diff --git a/multimedia/mplayer/Makefile.options b/multimedia/mplayer/Makefile.options
index 79226f89f7f9..b1cbf25dbc2c 100644
--- a/multimedia/mplayer/Makefile.options
+++ b/multimedia/mplayer/Makefile.options
@@ -69,12 +69,6 @@ CATEGORIES+= ipv6
CONFIGURE_ARGS+= --disable-inet6
.endif
-.if ${PORT_OPTIONS:MOPENAL}
-USE_OPENAL= soft
-.else
-CONFIGURE_ARGS+= --disable-openal
-.endif
-
.if ${PORT_OPTIONS:MRTMP}
LIB_DEPENDS+= librtmp.so:${PORTSDIR}/multimedia/librtmp
CONFIGURE_ARGS+= --enable-librtmp
diff --git a/multimedia/mplayer/Makefile.optvars b/multimedia/mplayer/Makefile.optvars
index 93c5bc29e8d4..aba282debfe2 100644
--- a/multimedia/mplayer/Makefile.optvars
+++ b/multimedia/mplayer/Makefile.optvars
@@ -65,6 +65,9 @@ LZO_CONFIGURE_OFF= --disable-liblzo
NAS_LIB_DEPENDS= libaudio.so:${PORTSDIR}/audio/nas
NAS_CONFIGURE_OFF= --disable-nas
+OPENAL_USES= openal:soft
+OPENAL_CONFIGURE_OFF= --disable-openal
+
OPENJPEG_LIB_DEPENDS= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg
OPENJPEG_CONFIGURE_OFF= --disable-libopenjpeg