Subject: Re: library inclusion order bug with pkgsrc
To: Georg Schwarz <georg.schwarz@freenet.de>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 04/13/2005 17:24:49
On Thu, 14 Apr 2005, Georg Schwarz wrote:

> I see. This still leaves me wondering why bmake show-vars VARNAMES=LDFLAGS
> does not show the full LDFLAGS. Is this a bug?

Have a look at PKG_PHASE.

rainier:/usr/pkgsrc/x11/gtk2$ make show-var VARNAME=LDFLAGS

rainier:/usr/pkgsrc/x11/gtk2$ make show-var VARNAME=LDFLAGS PKG_PHASE=build
 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib
-L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib


Can someone please document PKG_PHASE??


 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/