pkgsrc-Bugs archive

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

pkg/44891: ImageMagick misses a dependency on x11/libXext



>Number:         44891
>Category:       pkg
>Synopsis:       ImageMagick misses a dependency on x11/libXext
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 21 16:50:00 +0000 2011
>Originator:     Francois Tigeot
>Release:        DragonFly BSD
>Organization:
>Environment:
DragonFly sekishi.zefyris.com 2.9-DEVELOPMENT DragonFly 
v2.9.1.1077.g44d294-DEVELOPMENT #1: Sun Apr 10 11:30:40 CEST 2011     
ftigeot%sekishi.zefyris.com@localhost:/usr/obj/usr/src/sys/X86_64_GENERIC_SMP  
x86_64
>Description:
With pkgsrc-2011Q1 and X11_TYPE=modular, graphics/ImageMagick fails to
build with this error:

magick/xwindow.c:97:33: error: X11/extensions/XShm.h: No such file or directory
magick/xwindow.c:100:34: error: X11/extensions/shape.h: No such file or 
directory
[...]
bmake: stopped in /usr/pkgsrc/graphics/ImageMagick
*** Error code 1
>How-To-Repeat:
Try to build graphics/ImageMagick with
- pkgsrc-2011Q1
- X11_TYPE=modular set in mk.conf
>Fix:
A dependency to x11/libXext must be added for the "x11" option:

diff -u -r1.9 options.mk
--- options.mk  7 Jan 2009 08:58:07 -0000       1.9
+++ options.mk  21 Apr 2011 16:31:51 -0000
@@ -9,6 +9,7 @@
 .if !empty(PKG_OPTIONS:Mx11)
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/xextproto/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
 .else
 CONFIGURE_ARGS+=       --without-x
 .endif



Home | Main Index | Thread Index | Old Index