summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz>2009-04-15 12:25:30 +0000
committerwiz <wiz>2009-04-15 12:25:30 +0000
commit2ac5fb5bfcf06895fee3d81380b0409c414753b1 (patch)
tree857408094beed08435809cfdc13eeb93eb32fafd /graphics
parentb54848f64fb1f28d71e3e782ed7518b455073619 (diff)
downloadpkgsrc-2ac5fb5bfcf06895fee3d81380b0409c414753b1.tar.gz
Build fix:
Add v4l plugin to PLIST, if videodev.h header is found on Linux. From Aleksey Cheusov in PR 41218.
Diffstat (limited to 'graphics')
-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