Date: Thu, 19 Jun 2008 19:56:12 -0700 From: "Garrett Cooper" <yanefbsd@gmail.com> To: "Jeremy Messenger" <mezz7@cox.net> Cc: ports@freebsd.org, gary.jennejohn@freenet.de Subject: Re: Who should honor WITHOUT_X11? Message-ID: <7d6fde3d0806191956u339c63dfj5ceded4a4d46978b@mail.gmail.com> In-Reply-To: <op.uc0y8yqu9aq2h7@mezz.mezzweb.com> References: <7d6fde3d0806190836u2f0f96d6i75b3fc1b4edd73b1@mail.gmail.com> <20080619191156.00e517f6@peedub.jennejohn.org> <7d6fde3d0806191857t7dc65d5dkb7f24c776b925f32@mail.gmail.com> <op.uc0y8yqu9aq2h7@mezz.mezzweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 19, 2008 at 7:16 PM, Jeremy Messenger <mezz7@cox.net> wrote: > On Thu, 19 Jun 2008 20:57:31 -0500, Garrett Cooper <yanefbsd@gmail.com> > wrote: > >> On Thu, Jun 19, 2008 at 10:11 AM, Gary Jennejohn >> <gary.jennejohn@freenet.de> wrote: >>> >>> On Thu, 19 Jun 2008 08:36:56 -0700 >>> "Garrett Cooper" <yanefbsd@gmail.com> wrote: >>> >>>> Trying to build dbus recently on my system without X11 installed, I >>>> ran into a few compile issues because I had put WITHOUT_X11=yes into >>>> src.conf. However, I put WITHOUT_X11=yes into make.conf and was able >>>> to compile dbus properly (in the end). >>>> >>>> So, my questions are: >>>> 1. Should make.conf be responsible for the WITHOUT_X11 or should >>>> another file be responsible for it? >>>> 2. Is it already documented in a manpage somewhere? It isn't >>>> documented in `man make.conf'. >>>> >>> >>> It's documented in src.conf(5) that it only applies to the FreeBSD >>> source tree, which does not include the ports tree. Only make.conf >>> is globally applicable. >> >> Thanks for the replies. Just thought I'd check :). >> Should a /etc/{pkg,ports}.conf file be created to help segregate >> setting these variables, or is this already done somewhere else >> (pkgtools.conf)? > > ---------------------------------- > # grep ports /etc/make.conf > .include "/etc/ports.conf" > # cat /etc/ports.conf | wc -l > 223 > ---------------------------------- > > /etc/ports.conf: > ---------------------------------- > .if defined(GCC4) > CC=/usr/local/bin/gcc42 > CXX=/usr/local/bin/g++42 > .endif > > .if !defined(NODEBUG) > # Debug mode... > CFLAGS= -O2 -fno-strict-aliasing -pipe -g > STRIP= > .else > CFLAGS= -O2 -fno-strict-aliasing -pipe > .endif > > BATCH= yes > WITHOUT_OPTIONS=yes > DISABLE_VULNERABILITIES=yes > [...] > > # devel/boost > .if ${.CURDIR:M*/boost} > WITH_PYTHON=yes > .endif > > # editors/gedit > .if ${.CURDIR:M*/gedit} > WITH_GNOME=pygtksourceview > .endif > > [...] > ---------------------------------- > > You can use ports-mgmt/portconf instead if you like it better than that '.if > ${.CURDIR:...}'. > > Cheers, > Mezz > >> Thanks, >> -Garrett Awesome, thanks Mezz! -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d6fde3d0806191956u339c63dfj5ceded4a4d46978b>