Subject: pkg/37134: x11/gtk2 picks up cups when asked not to, and fails to build
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 10/15/2007 05:55:00
>Number:         37134
>Category:       pkg
>Synopsis:       x11/gtk2 picks up cups when asked not to, and fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 15 05:55:00 +0000 2007
>Originator:     Martijn van Buul
>Release:        NetBSD 4.99.33
System: NetBSD 4.99.33 NetBSD 4.99.33 (ATLAS) #0: Sat Oct 13 22:05:54 CEST 2007 amd64
Architecture: x86_64
Machine: amd64
	The configure script of x11/gtk2 picks up cups-config, but not 
	cups/cups.h when x11/gtk2 is being compiled on a system where CUPS is
	installed, but where CUPS support for gtk2 isn't enabled by setting
	the appropriate PKG_OPTIONS fu in /etc/mk.conf:

===> Configuring for gtk2+-2.12.0nb1
checking for cups-config... /usr/pkg/bin/cups-config
checking cups/cups.h usability... no
checking cups/cups.h presence... no
checking for cups/cups.h... no
*** Error code 1

make: stopped in /usr/pkgsrc/x11/gtk2
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Make

	* Install cups
	* Try to install x11/gtk2 without explicitly enabling CUPS support.
	No idea. A workaround is enabling cups for gtk2 as well (which is
	most likely desired, anyway, as cups was probably installed for a