aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2007-07-16 20:52:30 +0800
committernobutaka <nobutaka@FreeBSD.org>2007-07-16 20:52:30 +0800
commitcf1fb7cfb43fa94a761286b823bab651170305c9 (patch)
tree3fa262455f94a882ba2a9141ee5b768cdfa1d15e /multimedia
parent772010edb36de9906282ea0482a01f995d40e766 (diff)
downloadfreebsd-ports-gnome-cf1fb7cfb43fa94a761286b823bab651170305c9.tar.gz
freebsd-ports-gnome-cf1fb7cfb43fa94a761286b823bab651170305c9.tar.zst
freebsd-ports-gnome-cf1fb7cfb43fa94a761286b823bab651170305c9.zip
Do not build if WITH_CACA=true and libxine is not built with libcaca support.
PR: ports/114622 Submitted by: Max Brazhnikov <makc@issp.ac.ru>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xine/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/multimedia/xine/Makefile b/multimedia/xine/Makefile
index e3f918675cca..e4b7d9d51bd7 100644
--- a/multimedia/xine/Makefile
+++ b/multimedia/xine/Makefile
@@ -100,6 +100,11 @@ CONFIGURE_ARGS+= --disable-lirc
.endif
.if defined(WITH_CACA)
+LIBXINE_VER!= cd ${PORTSDIR}/multimedia/libxine && ${MAKE} -VPORTVERSION
+.if !exists(${LOCALBASE}/lib/xine/plugins/${LIBXINE_VER}/xineplug_vo_out_caca.so)
+IGNORE=libxine should be compiled with caca support
+.endif
+LIB_DEPENDS+= caca.0:${PORTSDIR}/graphics/libcaca
PLIST_SUB+= WITH_CACA=""
.else
PLIST_SUB+= WITH_CACA="@comment "