Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 2004 17:40:01 +0100
From:      Remko Lodder <remko@FreeBSD.org>
To:        Vittorio <v.demartino2@virgilio.it>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Passing options to  configure / compiler
Message-ID:  <41A0C4E1.3060805@FreeBSD.org>
In-Reply-To: <200411211306.05181.v.demartino2@virgilio.it>
References:  <200411211306.05181.v.demartino2@virgilio.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41A0C4E1.3060805>