From owner-freebsd-ports@FreeBSD.ORG Fri Jun 20 02:56:14 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33CE61065678 for ; Fri, 20 Jun 2008 02:56:14 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 9F33B8FC0A for ; Fri, 20 Jun 2008 02:56:13 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so612868fgb.35 for ; Thu, 19 Jun 2008 19:56:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=FcfOxuDyRnntrpGTymo+p2wFiNBSULxF2qU/2gV0pWg=; b=bQf7TKoWiIriLOtiyKPBWuDKjY/RO7bttGunr+V+bWdFzrq6MntNdW2jJqyKF2BzYF UivQjgZiF3uLfejCN1OISvrrViZ8wkk9FeRgGjWHCEF4v+eCPgB/uTeQR6ph3WTfz0DN Op9ltVp3DJhbsrfslfV9+NOWTqPU5NeI0wDEU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ZqiQ2YKC+3PTaBBKQU/R7G3TYDpJjQZNcS3RCZ9kEAXtGTjZfluieqYdXyMnwZb0lD djXz1H+mxx4DqURmp3NBnQnzZ/UDTKelCtC5myR1JLBYSl7jhAaCZjocZeFxos/3CRy+ EngG3HvuqVEf4U9JKVEPjdAhAs7lOQQCX8o0Y= Received: by 10.86.80.17 with SMTP id d17mr3182846fgb.47.1213930572239; Thu, 19 Jun 2008 19:56:12 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Thu, 19 Jun 2008 19:56:12 -0700 (PDT) Message-ID: <7d6fde3d0806191956u339c63dfj5ceded4a4d46978b@mail.gmail.com> Date: Thu, 19 Jun 2008 19:56:12 -0700 From: "Garrett Cooper" To: "Jeremy Messenger" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7d6fde3d0806190836u2f0f96d6i75b3fc1b4edd73b1@mail.gmail.com> <20080619191156.00e517f6@peedub.jennejohn.org> <7d6fde3d0806191857t7dc65d5dkb7f24c776b925f32@mail.gmail.com> Cc: ports@freebsd.org, gary.jennejohn@freenet.de Subject: Re: Who should honor WITHOUT_X11? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2008 02:56:14 -0000 On Thu, Jun 19, 2008 at 7:16 PM, Jeremy Messenger wrote: > On Thu, 19 Jun 2008 20:57:31 -0500, Garrett Cooper > wrote: > >> On Thu, Jun 19, 2008 at 10:11 AM, Gary Jennejohn >> wrote: >>> >>> On Thu, 19 Jun 2008 08:36:56 -0700 >>> "Garrett Cooper" 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