Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2004 12:32:07 +0100
From:      Simon Barner <barner@in.tum.de>
To:        alexandream@infolink.com.br
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Compile Options
Message-ID:  <20040117113207.GC657@zi025.glhnet.mhn.de>
In-Reply-To: <20040116234750.E0B4C1A8752@smtp.infolink.com.br>
References:  <20040116234750.E0B4C1A8752@smtp.infolink.com.br>

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

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

alexandream@infolink.com.br wrote:
>    I've just installed my brand new FreeBSD 5.2 system in this machine. I=
've
> never used FreeBSD before and I'm quite used to work with linux (specially
> Slackware, although the last 4 months I've been using Gentoo for most of =
my
> daily work).
>    The Question is that I could not find anything that resembled Gentoo's=
 USE
> Flags, so I'd like to know if THERE IS anything like it, where could I re=
ad
> 'bout it (I've been checking the ports chapter in the Handbook but.. no l=
uck).
>=20
>    Well, that is it. If anyone could help I'd appreciate, since I've been
> loving the way this system 'looks' (the /etc directory is just incredibly=
 well
> structured).

Hi,

depending on what you want to do, you should have a look at either

/etc/rc.conf, or

/usr/local/etc/pkgtools.conf (you have to install
ports/sysutils/portupgrade).

The former is usefull to set system wide options, such as CFLAGS, your cpu
type, etc., or special options for the makeworld process.

The latter is used by portupgrade to pass build options to ports when
it rebuilds them. (E.g.

'sysutils/xcdroast' =3D> 'WITH_NONROOT=3Dyes WITH_GTK2=3Dyes' in order to
build xcdroast with non-root support and a gtk2 interface).

Hint: Like many configuration files on FreeBSD, both rc.conf and
pkgtools.conf have a man page.

Simon

--xo44VMWPx7vlQ2+2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFACR03Ckn+/eutqCoRAq2OAJ9cpkk1Zu+GyLBSLSAbRuhSRi6j5QCbB6ZG
m4cCI5aqcFuKuY3GvRR6r+s=
=fjLd
-----END PGP SIGNATURE-----

--xo44VMWPx7vlQ2+2--



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