pkgsrc-Bugs archive

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

pkg/43532: graphics/gegl fails to build on Linux [patch]



>Number:         43532
>Category:       pkg
>Synopsis:       graphics/gegl fails to build on Linux [patch]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 26 20:50:00 +0000 2010
>Originator:     Aleksey Cheusov
>Release:        NetBSD 5.1_RC3
>Organization:
>Environment:
System: NetBSD asrock.chizhovka.net 5.1_RC3 NetBSD 5.1_RC3 (GENERIC) #0: Wed 
Jun 23 23:29:48 EEST 2010 
cheusov%asrock.chizhovka.net@localhost:/srv/obj/sys/arch/amd64/compile/GENERIC 
amd64
Architecture: x86_64
Machine: amd64
>Description:
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         
/tmp/obj_pkgsrc/graphics/gegl/work/.destdir/usr/pkg/lib/gegl-0.1/v4l.a
ERROR:         
/tmp/obj_pkgsrc/graphics/gegl/work/.destdir/usr/pkg/lib/gegl-0.1/v4l.la
ERROR:         
/tmp/obj_pkgsrc/graphics/gegl/work/.destdir/usr/pkg/lib/gegl-0.1/v4l.so
*** Error code 1
>Fix:
It seems that support for Linux/v4l worked in the past but then became broken.
At least Makefile includes the following.

   .if ${OPSYS} == "Linux" && exists(/usr/include/linux/videodev.h)
   PLIST.v4l=      yes
   .endif

So, simple fix is below

Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/gegl/PLIST,v
retrieving revision 1.9
diff -u -r1.9 PLIST
--- PLIST       14 Jun 2010 18:48:32 -0000      1.9
+++ PLIST       26 Jun 2010 20:43:37 -0000
@@ -110,6 +110,7 @@
 lib/gegl-0.1/text.la
 lib/gegl-0.1/threshold.la
 lib/gegl-0.1/unsharp-mask.la
+${PLIST.v4l}lib/gegl-0.1/v4l.la
 lib/gegl-0.1/value-invert.la
 lib/gegl-0.1/weighted-blend.la
 lib/gegl-0.1/whitebalance.la



Home | Main Index | Thread Index | Old Index