Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/libv4l1 libv4l1: needs c++ compiler



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7078332c9f38
branches:  trunk
changeset: 437689:7078332c9f38
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Aug 30 05:41:22 2020 +0000

description:
libv4l1: needs c++ compiler

diffstat:

 graphics/libv4l1/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 288b6b8e02ca -r 7078332c9f38 graphics/libv4l1/Makefile
--- a/graphics/libv4l1/Makefile Sun Aug 30 00:35:01 2020 +0000
+++ b/graphics/libv4l1/Makefile Sun Aug 30 05:41:22 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/08/29 22:18:41 ryoon Exp $
+# $NetBSD: Makefile,v 1.2 2020/08/30 05:41:22 tnn Exp $
 
 LIBV4L_VERS=   1.18.1
 DISTNAME=      v4l-utils-${LIBV4L_VERS}
@@ -18,10 +18,13 @@
 
 USE_TOOLS+=    gmake
 USE_LIBTOOL=   yes
+USE_LANGUAGES= c c++
 
 .include "../../mk/bsd.prefs.mk"
 
-NEWHEADER!=    ${GREP} V4L2_SEL_TGT_CROP /usr/include/sys/videoio.h || echo "no"
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly"
+NEWHEADER!=    ${GREP} V4L2_SEL_TGT_CROP /usr/include/sys/videoio.h > /dev/null 2>&1 || echo "no"
+.endif
 
 .if (${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly") && !exists(/usr/include/sys/videoio.h)
 PLIST.needs_videoio=   yes



Home | Main Index | Thread Index | Old Index