aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/iulib
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-02-11 20:26:35 +0800
committerpav <pav@FreeBSD.org>2010-02-11 20:26:35 +0800
commit4e2581a7944a486625600a5b16f16500be5b7ea6 (patch)
tree3e59280b3849b1ba1dc2230841ac669c7dd221d3 /graphics/iulib
parentbfd1f314882abddf1719b7b4ea63bfb76f47d7e3 (diff)
downloadfreebsd-ports-gnome-4e2581a7944a486625600a5b16f16500be5b7ea6.tar.gz
freebsd-ports-gnome-4e2581a7944a486625600a5b16f16500be5b7ea6.tar.zst
freebsd-ports-gnome-4e2581a7944a486625600a5b16f16500be5b7ea6.zip
- Make sure not to use Video4Linux feature even if header files are found
PR: ports/143685 Submitted by: Hiroto Kagotani <hiroto.kagotani@gmail.com> (maintainer)
Diffstat (limited to 'graphics/iulib')
-rw-r--r--graphics/iulib/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/iulib/Makefile b/graphics/iulib/Makefile
index f7e9d439782d..741f97431551 100644
--- a/graphics/iulib/Makefile
+++ b/graphics/iulib/Makefile
@@ -42,10 +42,13 @@ PLIST_SUB+= SDL=""
.if defined(WITH_VIDIO)
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg
-.else
+.endif
+
post-patch:
+.if !defined(WITH_VIDIO)
@${REINPLACE_CMD} -e 's/novidio, 0/novidio, 1/' ${WRKSRC}/configure.ac
.endif
+ @${REINPLACE_CMD} -e 's/nov4l2, 0/nov4l2, 1/' ${WRKSRC}/configure.ac
pre-configure:
@(cd ${CONFIGURE_WRKSRC} \