summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-04-15 12:25:30 +0000
committerwiz <wiz@pkgsrc.org>2009-04-15 12:25:30 +0000
commitba3d61195b6e5031b15c3210073668dc78f4492b (patch)
tree857408094beed08435809cfdc13eeb93eb32fafd
parenta40675394b25db9ad590b73b1827d6b83506084b (diff)
downloadpkgsrc-ba3d61195b6e5031b15c3210073668dc78f4492b.tar.gz
Build fix:
Add v4l plugin to PLIST, if videodev.h header is found on Linux. From Aleksey Cheusov in PR 41218.
-rw-r--r--graphics/gegl/Makefile10
-rw-r--r--graphics/gegl/PLIST3
2 files changed, 11 insertions, 2 deletions
diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile
index 2417446dbc3..ad07e89eff1 100644
--- a/graphics/gegl/Makefile
+++ b/graphics/gegl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2009/02/03 06:21:40 adam Exp $
+# $NetBSD: Makefile,v 1.6 2009/04/15 12:25:30 wiz Exp $
DISTNAME= gegl-0.0.22
PKGREVISION= 2
@@ -23,6 +23,14 @@ CONFIGURE_ENV+= ac_cv_prog_RUBY=no
PKGCONFIG_OVERRIDE+= gegl.pc.in
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+= v4l
+
+.if ${OPSYS} == "Linux" && exists(/usr/include/linux/videodev.h)
+PLIST.v4l= yes
+.endif
+
.include "options.mk"
.include "../../graphics/babl/buildlink3.mk"
diff --git a/graphics/gegl/PLIST b/graphics/gegl/PLIST
index 45f8b682b0e..4aca469ca8c 100644
--- a/graphics/gegl/PLIST
+++ b/graphics/gegl/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2009/02/03 06:21:40 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2009/04/15 12:25:30 wiz Exp $
bin/gegl
include/gegl-0.0/gegl-buffer.h
include/gegl-0.0/gegl-chant.h
@@ -108,6 +108,7 @@ lib/gegl-0.0/text.la
lib/gegl-0.0/threshold.la
lib/gegl-0.0/tonemap.la
lib/gegl-0.0/unsharp-mask.la
+${PLIST.v4l}lib/gegl-0.0/v4l.la
lib/gegl-0.0/value-invert.la
lib/gegl-0.0/whitebalance.la
lib/gegl-0.0/write-buffer.la