aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libxine/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libxine/Makefile')
-rw-r--r--multimedia/libxine/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile
index 3775e57dc926..88cfcf39a324 100644
--- a/multimedia/libxine/Makefile
+++ b/multimedia/libxine/Makefile
@@ -191,14 +191,18 @@ CONFIGURE_ARGS+= --without-wavpack
.if ${PORT_OPTIONS:MVAAPI}
LIB_DEPENDS+= libva.so:${PORTSDIR}/multimedia/libva
+PLIST_SUB+= VAAPI=""
+CONFIGURE_ARGS+= --enable-vaapi
+.else
+PLIST_SUB+= VAAPI="@comment "
.endif
.if ${PORT_OPTIONS:MLIBBLURAY}
-CONFIGURE_OPTS+= --enable-bluray
+CONFIGURE_ARGS+= --enable-bluray
LIB_DEPENDS+= libbluray.so:${PORTSDIR}/multimedia/libbluray
PLIST_SUB+= LIBBLURAY=""
.else
-CONFIGURE_OPTS+= --disable-bluray
+CONFIGURE_ARGS+= --disable-bluray
PLIST_SUB+= LIBBLURAY="@comment "
.endif
@@ -217,7 +221,8 @@ CONFIGURE_ARGS+= --disable-vidix
post-patch:
.if ${PORT_OPTIONS:MVAAPI}
- #@${PATCH} ${PATCH_DIST_ARGS} <${FILESDIR}/ffmpeg-vaapi_xine-lib-1.2.2-defaultoff.diff
+ @${REINPLACE_CMD} -e 's|-ldl||' \
+ ${WRKSRC}/src/video_out/Makefile.in
.endif
.for f in libtool ltmain.sh
@${REINPLACE_CMD} -e \