Subject: Re: add ${X11BASE}/bin into PREPEND_PATH when USE_X11 (was Re:
To: Juan RP <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 04/07/2005 12:28:04
On Thu, 7 Apr 2005, Juan RP wrote:

> > rainier:/usr/pkgsrc/x11/Xaw3d$ make show-var VARNAME=PREPEND_PATH
> > /usr/pkg/bin /usr/X11R6/bin
> > /usr/pkg/tmp/pkgsrc/x11/Xaw3d/work.rainier/.gcc/bin
> > /usr/pkg/tmp/pkgsrc/x11/Xaw3d/work.rainier/.tools/bin
> > /usr/pkg/tmp/pkgsrc/x11/Xaw3d/work.rainier/.buildlink/bin
> > /usr/pkg/tmp/pkgsrc/x11/Xaw3d/work.rainier/.wrapper/bin
> >
> > I do have a concern though. It seems like the wrapper/symlink directories
> > (under work) should be before ${LOCALBASE}/bin ${X11BASE}/bin in the
> > PATH.

Looking now at mk/, I see it is reversed so is like:

rainier:/usr/pkgsrc/x11/Xaw3d$ make show-var VARNAME=PATH



work/.wrapper/bin work/.buildlink/bin work/.tools/bin work/.gcc/bin
${X11BASE}/bin ${LOCALBASE}/bin followed by my original PATH.

It looks fine.

As for doing ${X11BASE}/bin into PREPEND_PATH when USE_X11 (instead of
just USE_IMAKE) -- I will test this and commit.

(If I recall this will fix some similar problems I had several months

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links