From owner-freebsd-ports@FreeBSD.ORG Thu Jul 30 17:20:58 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 460AF106566C for ; Thu, 30 Jul 2009 17:20:58 +0000 (UTC) (envelope-from cyberbotx@cyberbotx.com) Received: from QMTA11.emeryville.ca.mail.comcast.net (qmta11.emeryville.ca.mail.comcast.net [76.96.27.211]) by mx1.freebsd.org (Postfix) with ESMTP id 30F848FC14 for ; Thu, 30 Jul 2009 17:20:58 +0000 (UTC) (envelope-from cyberbotx@cyberbotx.com) Received: from OMTA02.emeryville.ca.mail.comcast.net ([76.96.30.19]) by QMTA11.emeryville.ca.mail.comcast.net with comcast id NCjm1c0040QkzPwABH7p3W; Thu, 30 Jul 2009 17:07:49 +0000 Received: from kirby.cyberbotx.com ([68.41.9.25]) by OMTA02.emeryville.ca.mail.comcast.net with comcast id NH7n1c0070YQbD88NH7oC1; Thu, 30 Jul 2009 17:07:49 +0000 Message-ID: <4A71D361.3000004@cyberbotx.com> Date: Thu, 30 Jul 2009 13:07:45 -0400 From: Naram Qashat User-Agent: Thunderbird 2.0.0.22 (X11/20090723) MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: portupgrade: undefining a variable in MAKE_ARGS set previously 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: Thu, 30 Jul 2009 17:20:58 -0000 When using portupgrade, I use the MAKE_ARGS variable inside of pkgtools.conf. I have variables set for '*' as well as many ports. However, I want to be able to undefine a variable I set previously in the '*' entry. I found a mailing list thread from 2007 for rt36 that mentions using -U with make, but make complains saying that U is an illegal option, and the man page says nothing about -U being an option. Even if it were an option, I'm not sure how BSD make would handle the situation of defining a variable with = or -D and then later undefining it with -U. So is there a way to do this either via pkgtools.conf or via make itself? Thanks, Naram Qashat