From owner-freebsd-ruby@FreeBSD.ORG Fri Jun 24 22:41:33 2011 Return-Path: Delivered-To: ruby@FreeBSD.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EB571065670 for ; Fri, 24 Jun 2011 22:41:33 +0000 (UTC) (envelope-from kareem.dana@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id A12BC8FC08 for ; Fri, 24 Jun 2011 22:41:32 +0000 (UTC) Received: by ewy1 with SMTP id 1so1472369ewy.13 for ; Fri, 24 Jun 2011 15:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=4wLnEBZBzhcvHhoRwh1awnoLVMQHSUCcG0/sjaGXIpE=; b=dBZ+LQ2jrnsjECquw7pYw+H0YbeVk0aauaCfe77SYsC4igBSFtg7wiNFzEKY/qEuFc pfOMHdU1wOc2X95CkRPIVCO1GR5hmI+idmBBD+SsWbimXeFq83OYLfXbuyYy+LSNcdrZ QacfImmLGrnKRmrqeLZE1bKRd5ap6s4JRlcLE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=j41eO7xFek3LVxdOgBQ0v52Y2UGHca0cBbmOv/me6AWThFx7NfgwibMMWkXci6DNrX cT6Je5spbpL05TsMFKsuZmPlEIwvrW5dVcNjDCOnP1oauhsXsXMVoBnwmxuMMmuYZ4s2 gjT39ASXoI+ZLYghKRFrA4RKzN3f3DyC8xm2E= MIME-Version: 1.0 Received: by 10.14.189.4 with SMTP id b4mr2523848een.144.1308953418807; Fri, 24 Jun 2011 15:10:18 -0700 (PDT) Received: by 10.213.114.12 with HTTP; Fri, 24 Jun 2011 15:10:18 -0700 (PDT) Date: Fri, 24 Jun 2011 17:10:18 -0500 Message-ID: From: Kareem Dana To: ruby@FreeBSD.org X-Mailman-Approved-At: Fri, 24 Jun 2011 22:59:33 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: portupgrade MAKE_ARGS issue X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2011 22:41:33 -0000 I'm trying to become comfortable with portupgrade and I'm upgrading p5-Mail-SpamAssassin as a test. It has several config options that can be set with 'make config'. One of them is AS_ROOT, defined in the Makefile as WITH_AS_ROOT. By default this option is enabled. I would like to use portupgrade MAKE_ARGS to disable that option and I can't figure out how to do that. I have tried MAKE_ARGS = { 'mail/p5-Mail-SpamAssassin' => "WITHOUT_AS_ROOT=1', } and also WITH_AS_ROOT=false, WITH_AS_ROOT= My initial thought is that SpamAssassin has WITH_AS_ROOT enabled by default and it never checks WITHOUT_AS_ROOT, only whether WITH_AS_ROOT is defined or undefined, so I would need portupgrade to undefine WITH_AS_ROOT which I don't think is possible? Am I correct, and if so, that means the issue lies with that specific port? In general, if a config option is enabled by default, I should be able to set WITHOUT_OPTION=1 in the MAKE_ARGS section and if a config option is disabled by default WITH_OPTION=1, correct? Thanks for helping me out, Kareem Dana