Passing options to configure / compiler

Remko Lodder remko at FreeBSD.org
Sun Nov 21 10:19:09 PST 2004


Vittorio wrote:
> I couldn't find in the docs how to pass options to the configure script.
> 
> For instance, I'm compiling postgresql under FreeBSD 5.3 stable.
> After 'cd /usr/ports/databases/postgresql7' and ' make' a list of 
> configure options is shown; among them I'm interested in "WITH_TESTS"" 
> but I do not know how  to pass this option to the compiler (or to 
> configure????).

if you want to use WITH_TESTS for example you need to add

make WITH_TESTS=yes install clean (or something similiar)

when portupgrade'ing that you should do

portupgrade -M 'WITH_TESTS=yes' postgresql
(or again; something similiar)

Hope that helps!

> 
> Could you please help me?
> 
> Vittorio

-- 
Kind regards,

Remko Lodder
FreeBSD (Dutch) Documentation Team


More information about the freebsd-questions mailing list