From owner-freebsd-ports@FreeBSD.ORG Sun Jan 21 00:19:29 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7BB6A16A402 for ; Sun, 21 Jan 2007 00:19:29 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 5329413C45E for ; Sun, 21 Jan 2007 00:19:29 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 1D23251985 for ; Sat, 20 Jan 2007 19:19:27 -0500 (EST) Date: Sun, 21 Jan 2007 00:19:24 +0000 From: RW To: freebsd-ports@freebsd.org Message-ID: <20070121001924.1528c7b9@gumby.homeunix.com> In-Reply-To: References: <790a9fff0701192137y703108i421c05422eda39a7@mail.gmail.com> <790a9fff0701201048scc83967s4edf1dae74437d39@mail.gmail.com> X-Mailer: Claws Mail 2.7.0 (GTK+ 2.10.7; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Modifying a port and keeping the mods across updates 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: Sun, 21 Jan 2007 00:19:29 -0000 On Sat, 20 Jan 2007 12:44:59 -0800 Paul Hoffman wrote: > At 12:48 PM -0600 1/20/07, Scot Hetzel wrote: > >Are you trying to add NSS_ENABLE_ECC to the MAKE_ENV? > > > >Normally you would put it in ports.conf as: > > > >security/nss: MAKE_ENV+= NSS_ENABLE_ECC=1 > > Boy, that wasn't clear in the four lines of info on portconf. > portconf is simply a quick way of adding entries to make.conf without having to put in explicit conditional statements like: .if ${.CURDIR:M*/x11-toolkits/qt33} WITH_KDE_PATCHES=yes .endif What actually works as an entry depends on the ports system and each individual port makefile. It's primary use is setting portknobs. With something like MAKE_ENV+=.. you are depending on the port Makefile not setting MAKE_ENV or setting it with a "+=" rather than "=".