Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jun 2010 14:27:43 +0200
From:      Julien Cigar <jcigar@ulb.ac.be>
To:        Giorgos Tsiapaliokas <terietor@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: can i use flags at once?
Message-ID:  <4C0E373F.7060400@ulb.ac.be>
In-Reply-To: <AANLkTim2DznYVnGYn0YJIeFbSTJWjpyBtFyMHwjuKHqm@mail.gmail.com>
References:  <AANLkTim2DznYVnGYn0YJIeFbSTJWjpyBtFyMHwjuKHqm@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------000603040302050003040303
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


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

--------------000603040302050003040303--



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