pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/gegl Build fix:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/73fcf9e84a15
branches:  trunk
changeset: 557473:73fcf9e84a15
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Apr 15 12:25:30 2009 +0000

description:
Build fix:
Add v4l plugin to PLIST, if videodev.h header is found on Linux.

>From Aleksey Cheusov in PR 41218.

diffstat:

 graphics/gegl/Makefile |  10 +++++++++-
 graphics/gegl/PLIST    |   3 ++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diffs (41 lines):

diff -r cfe1a706e323 -r 73fcf9e84a15 graphics/gegl/Makefile
--- a/graphics/gegl/Makefile    Wed Apr 15 09:21:13 2009 +0000
+++ b/graphics/gegl/Makefile    Wed Apr 15 12:25:30 2009 +0000
@@ -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 @@
 
 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 -r cfe1a706e323 -r 73fcf9e84a15 graphics/gegl/PLIST
--- a/graphics/gegl/PLIST       Wed Apr 15 09:21:13 2009 +0000
+++ b/graphics/gegl/PLIST       Wed Apr 15 12:25:30 2009 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index