aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-02-11 12:26:35 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-02-11 12:26:35 +0000
commit3c3add3e07bd0e5e410d5fe7b068577e21853002 (patch)
tree40713b335d757c33cdf4b7e01390df3312d0beff
parent1c3770453cc081fe180586f72a71872b45f9c75a (diff)
downloadports-3c3add3e07bd0e5e410d5fe7b068577e21853002.tar.gz
ports-3c3add3e07bd0e5e410d5fe7b068577e21853002.zip
Notes
-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} \