can i use flags at once?

Polytropon freebsd at
Tue Jun 8 14:18:52 UTC 2010

On Tue, 8 Jun 2010 13:59:40 +0000, Giorgos Tsiapaliokas <terietor at> wrote:
> hello,
> i am a gentoo user and now i am trying to install a freebsd on my machine.
> ports are great but while my machine is compiling i receive messages about
> the flags.
> in gentoo i was able via the file /etc/portage/package.use to determine
> which flags i wanted to enable and which not.
> is there any way to do this in FreeBSD,since gentoo's portage is based on
> ports.

I'm not perfectly clear on what you intend to question, but if
you want to know how to tetermine options for a certain port,
"make config" is used to set them.

Various port management software is also able to store predefined
options for port compilation in a central control file.

In order to find out more about ports, read "man ports" as it
explains everything very well.

There are also flags that are defined in /etc/make.conf, like
CFLAGS. Some ports allow setting OPTIMIZED_CFLAGS, e. g. mplayer.

You may be more clear in providing an example (example port and
flags, received message).

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list