tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg-config-0.25nb1 on MirBSD



On Tue, Aug 16, 2011 at 05:04:11PM +0200, Benny Siegert wrote:
> Replying to myself, just for the record ...
> 
> On Mon, Aug 15, 2011 at 17:45, Benny Siegert <bsiegert%gmail.com@localhost> 
> wrote:
> > I am trying to debug a strange behavior during the build of pkg-config
> > on MirBSD. The build fails when you just do a "bmake", then runs
> > through when you "bmake" again. The failure is at the end of the
> > unwrap phase. Below is the relevant exerpt from the build log, with
> > PKG_DEBUG_LEVEL=2. I don't understand why the build fails instead of
> > skipping pkg-config, as it is a non-text file.
> 
> Found the problem. In mk/tools/tools.MirBSD.mk false is set to "exit
> 1", which is not quite the same thing. Setting it to /usr/bin/false
> helps. I will commit this later.

Setting 'false' to '! :' is probably best.
':' is a shell builtin that does nothing (after its args have been
expanded) and generates a success status. The '!' negates the status.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index