configure: how to tell what options were used

Mel fbsd.questions at rachie.is-a-geek.net
Tue May 6 20:32:01 UTC 2008


On Tuesday 06 May 2008 22:13:47 Steve Franks wrote:
> I think I'm having problems with a port due to a sub-port having
> incorrect configure options.  Anyone know how to find out what those
> might have been?  I'm not seeing a standard way to find that out...

Don't clean the build, then:
make all-depends-list | while read DIR; do
	cd ${DIR}
	configlog=$(make -V WRKSRC)/config.log
	if test -f ${configlog}; then
		echo ${configlog}
	fi
done | xargs ${EDITOR}

Then have fun finding the problem in the logs. Without knowing what to look 
for, that can be tedious.

-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.


More information about the freebsd-questions mailing list