Subject: Re: pkg/33940: several packages fail to build because of missing *proto
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: pkgsrc-bugs
Date: 07/08/2006 09:30:04
The following reply was made to PR pkg/33940; it has been noted by GNATS.

From: Jukka Salmi <j+nbsd@2006.salmi.ch>
To: gnats-bugs@NetBSD.org
Cc: reed@reedmedia.net
Subject: Re: pkg/33940: several packages fail to build because of missing *proto
Date: Sat, 8 Jul 2006 11:25:15 +0200

 Hi,
 
 reed@reedmedia.net wrote:
 >  What X?
 
 NetBSD xsrc HEAD, i.e. native XFree86 (4.5.0), built three days ago.
 
 
 >  Do you have needed X headers already installed?
 
 AFAICT yes.
 
 
 >  Why isn't the builtin.mk working for you for these? (Have a look at them 
 >  to see what headers they look for.)
 
 They seem not to be read at all: I added `MYTEST=test' to
 x11/xextproto/builtin.mk, but running `make -V MYTEST' from
 graphics/hicolor-icon-theme did not print it. However, doing the same
 with x11/renderproto/builtin.mk worked, so that builtin.mk file was
 read...
 
 BTW, in case one of these is a hint to some pkgsrc developer:
 
 $ cd pkgsrc/graphics/hicolor-icon-theme
 
 $ make -V _BLNK_PACKAGES
  x11-links gtk2 atk pango glib2 gettext cairo Xft2 fontconfig iconv expat glitz MesaLib libpixman freetype2 png tiff zlib jpeg xcursor Xrandr randrproto Xrender renderproto pthread Xfixes fixesproto xextproto xproto
 
 $ make -V USE_BUILTIN.xextproto
 no
 
 $ make -V BUILDLINK_DEPMETHOD.xextproto
 build
 
 $ make -V BUILDLINK_PREFIX.xextproto
 BUILDLINK_PREFIX.xextproto_not_found
 
 
 >  What version of x11-links do you have installed (if using it)? Does it 
 >  link for your needed headers?
 
 x11-links-0.30 - yes, it does: it contains
 /usr/pkg/share/x11-links/include/X11/extensions/extutil.h which is a
 link to /usr/X11R6/include/X11/extensions/extutil.h
 
 
 Regards, Jukka
 
 -- 
 If fifty million people say a foolish thing,
 it is still a foolish thing.
 
 	Anatole France