aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libv4l/Makefile
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2015-08-15 15:48:05 +0000
committerThomas Zander <riggs@FreeBSD.org>2015-08-15 15:48:05 +0000
commit4eeb65820b2ec01ca9809a006c22d1694e01c3b9 (patch)
tree51cfca187dba2aeca987c0896dbb3c23feaf4a11 /multimedia/libv4l/Makefile
parente4e5871355660e7f12d316ded68c13e1fbebf0f8 (diff)
downloadports-4eeb65820b2ec01ca9809a006c22d1694e01c3b9.tar.gz
ports-4eeb65820b2ec01ca9809a006c22d1694e01c3b9.zip
Notes
Diffstat (limited to 'multimedia/libv4l/Makefile')
-rw-r--r--multimedia/libv4l/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/multimedia/libv4l/Makefile b/multimedia/libv4l/Makefile
index 27465bea8749..fecb25ba68b2 100644
--- a/multimedia/libv4l/Makefile
+++ b/multimedia/libv4l/Makefile
@@ -4,7 +4,7 @@
PORTNAME?= libv4l
PORTVERSION= 1.6.3
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= multimedia
MASTER_SITES= http://linuxtv.org/downloads/v4l-utils/:master \
LOCAL/kwm:local
@@ -24,7 +24,6 @@ WRKSRC= ${WRKDIR}/v4l-utils-${PORTVERSION}
.if ${LIBV4L_SLAVE} != compat
BUILD_DEPENDS+= v4l_compat>=${PORTVERSION}:${PORTSDIR}/multimedia/v4l_compat
-LIB_DEPENDS+= libargp.so:${PORTSDIR}/devel/argp-standalone
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
@@ -38,12 +37,14 @@ INSTALL_TARGET= install-strip
. if ${LIBV4L_SLAVE} == utils
BUILD_DEPENDS+= libv4l>=${PORTVERSION}:${PORTSDIR}/multimedia/libv4l
-LIB_DEPENDS+= libv4l2.so:${PORTSDIR}/multimedia/libv4l
-# Disabling building libv4l in the utils slave is too much hackery
+LIB_DEPENDS+= libargp.so:${PORTSDIR}/devel/argp-standalone \
+ libv4l2.so:${PORTSDIR}/multimedia/libv4l
+# Disabling building libv4l in the utils slave is too much hackery
# Lets wait for subpackages
-CONFIGURE_ARGS+=--enable-v4l-utils
+CONFIGURE_ARGS+=--enable-v4l-utils
. else
CONFIGURE_ARGS+=--disable-v4l-utils --enable-libv4l
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-configure
. endif
.endif