Subject: USE_X11 and buildlink
To: None <tech-pkg@netbsd.org>
From: Mario Kemper <magick@netbsd.org>
List: tech-pkg
Date: 08/26/2001 16:23:56
	  Hi,

while converting a Package to use buildlink and moving it from X11BASE
to LOCALBASE i stumbled upon a few problems:

1. USE_X11 isn't dokumented in Packages.txt

2. Nothing sets CFLAGS+=${X11BASE}/includes, neither USE_X11 nor
   USE_X11BASE. Why?
   LDFLAGS is set correctly by both options.

3. My package uses tcl/tk via buildlink. As tk needs native X11
   includes and libs, i have to set the include path to X11BASE, the
   library path is already set by USE_X11. Does it still qualify for 
   USE_BUILDLINK_ONLY?

-- 
Mario Kemper
magick@zhadum.de