Re: Compile options

David Adam <[email protected]>
Newsgroups gmane.os.freebsd.newbies
Message-ID <[email protected]>
"Hello,
i am looking for something like USE flags in gentoo GNU/Linux
distribution. in the USE variable are defined keywords which are mapped
onto compile-options."

Lute:
I don't think he means that he's looking for USE flags in Gentoo. I read
the paragraph as "I would like Gentoo-style USE flags or their
equivalents."

Delphinus:
Having said that, I'm not familiar enough with the ports collection to
really know of anything like this.

One thing you might like to look at is /usr/local/etc/pkgtools.conf which
can be copied and edited from /usr/local/etc/pkgtools.conf.sample (from
memory). As documented in
http://www.onlamp.com/pub/a/bsd/2003/09/18/FreeBSD_Basics.html you can set
various make options for ports every time you compile them.

I guess you *could* add
MAKE_ARGS = {
    '*' => 'WITH_QT=1 WITH_GTK=0 etc etc',
}
to /usr/local/etc/pkgtools.conf, but that's almost guaranteed not to work
in all cases. You're better off examining each port individually, setting
the make options in pkgtools.conf, and then installing with portinstall/
upgrading using portupgrade.

No worries, then,

David Adam
[email protected]

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.