Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 2004 19:32:14 +0100
From:      Martin Hudec <corwin@aeternal.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Passing options to  configure / compiler
Message-ID:  <20041121183214.GE3260@pleiades.aeternal.net>
In-Reply-To: <41A0C4E1.3060805@FreeBSD.org>
References:  <200411211306.05181.v.demartino2@virgilio.it> <41A0C4E1.3060805@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--V4b9U9vrdWczvw78
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello,

On Sun, Nov 21, 2004 at 05:40:01PM +0100 or thereabouts, Remko Lodder wrote:
> Vittorio wrote:
> >I couldn't find in the docs how to pass options to the configure script.
> >
>=20
> if you want to use WITH_TESTS for example you need to add
>=20
> make WITH_TESTS=3Dyes install clean (or something similiar)
>=20
> when portupgrade'ing that you should do
>=20
> portupgrade -M 'WITH_TESTS=3Dyes' postgresql
> (or again; something similiar)
>=20
> Hope that helps!

	It would be nice for him to set options pkgtools.conf, which
can be usually found in /usr/local/etc.=20

For example:
I want links to be compiled without X11 support, so I set in section
named MAKE_ARGS following:

	'www/links' =3D> 'WITHOUT_X11=3Dyes',

so this compilation option will be reflected next time he uses
portupgrade utility. Otherwise portupgrade will ignore previous
compilation options. Or at least I don't know how to tell portupgrade
which options did I use to compile the port :).


	Cheers,

	Martin

--=20
martin hudec


   * 421 907 303 393
   * corwin@aeternal.net
   * http://www.aeternal.net

"Nothing travels faster than the speed of light with the possible=20
exception of bad news, which obeys its own special laws."

   Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

--V4b9U9vrdWczvw78
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBoN8uZYEZIv+rgggRAv1fAKCDEPFdnYWjqCIuPNC5yZI5xheJjwCfQs7B
cUB7a5XMItdWr3cgEOJxyF4=
=tagv
-----END PGP SIGNATURE-----

--V4b9U9vrdWczvw78--



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