can i use flags at once?

Julien Cigar jcigar at ulb.ac.be
Tue Jun 8 14:16:56 UTC 2010


some ports have OPTIONS, then you can use make config / make 
config-recursive (man ports)

others don't, then you can set them in /etc/make.conf, for example :

jcigar at frodon ~ % cat /etc/make.conf
WITHOUT_APACHE="YES"
WITHOUT_IPV6="YES"
#WITHOUT_NLS="YES"
WITHOUT_KDE="YES"
WITHOUT_GNOME="YES"

.if ${.CURDIR:M*/x11/rxvt-unicode}
     WITHOUT_AFTERIMAGE="yes"
.endif

.if ${.CURDIR:M*/editors/vim}
     WITH_GTK2="yes"
.endif

(of course you can always use make -DWITH_FOO -DWITHOUT_BAR clean 
install clean)

regards,
Julien

Giorgos Tsiapaliokas 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.
> 
> thanks in advance.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


-- 
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.


More information about the freebsd-questions mailing list