Subject: Re: CVS commit: pkgsrc
To: Todd Vierling <>
From: Johnny C. Lam <>
List: tech-pkg
Date: 10/04/2004 20:02:14
On Mon, Oct 04, 2004 at 07:48:10PM +0000, Todd Vierling wrote:
> Module Name:	pkgsrc
> Committed By:	tv
> Date:		Mon Oct  4 19:48:10 UTC 2004
> Modified Files:
> 	pkgsrc/devel/libtool: distinfo
> 	pkgsrc/devel/libtool-base: Makefile
> 	pkgsrc/devel/libtool/patches: manual-libtool.m4 manual.README patch-ab
> 	    patch-ad
> 	pkgsrc/mk:
> Log Message:
> Fix completely hosed test for g++ when CXX=g++.  The old test worked fine.
> Revert until the hosage is tracked down and eliminated at the source.
> (Bump to libtool-1.5.10nb1, and make this the required version.)

I discovered the problem is that:

        "g++ -v -I/usr/pkg/include"     returns nonzero
        "g++ -v"                        returns zero

which breaks the original libtool g++ detection.  Confusingly,

        "gcc -v -I/usr/pkg/include"     returns zero
        "gcc -v"                        returns zero

I will alter the wrappers so that if "-v" is passed to the compiler,
then no extra flags are appended to the command line.  My change will
make this libtool change unncessary.


	-- Johnny Lam <>