Subject: Re: I want X clients to install under X11BASE
To: Todd Vierling <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 09/24/2003 12:34:13
On Wed, 24 Sep 2003, Todd Vierling wrote:

> On Wed, 24 Sep 2003, Jeremy C. Reed wrote:
> : On a related note, has:
> : .  if defined(USE_X11) && !exists(${X11BASE})
> : PKG_FAIL_REASON+= "${PKGNAME} uses X11, but ${X11BASE} not found"
> :
> : That doesn't make sense, because by default if USE_X11 is defined it
> : doesn't install or touch X11BASE in the first place.
> It just wants to verify that an X11 app will compile and run.  It doesn't
> care about installing there.

The message should probably be more clear (for beginning pkgsrc users),

PKG_FAIL_REASON+= "${PKGNAME} uses X11, but ${X11BASE} not found."
PKG_FAIL_REASON+= "Please install your X11 development files to ${X11BASE}."

(And if USE_X11BASE is defined, then it will care about installing it
there too.)

   Jeremy C. Reed