From owner-freebsd-ports@FreeBSD.ORG Sat Aug 21 23:22:46 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91BD716A4CE for ; Sat, 21 Aug 2004 23:22:46 +0000 (GMT) Received: from kestrel.alerce.com (kestrel.alerce.com [209.182.219.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73EE643D41 for ; Sat, 21 Aug 2004 23:22:46 +0000 (GMT) (envelope-from hartzell@kestrel.alerce.com) Received: from rosebud.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (authenticated bits=128) by kestrel.alerce.com (8.12.10/8.12.10) with ESMTP id i7LNMjkk068221 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 21 Aug 2004 16:22:46 -0700 (PDT) (envelope-from hartzell@kestrel.alerce.com) Received: from rosebud.alerce.com (localhost [127.0.0.1]) by rosebud.alerce.com (8.12.9p2/8.12.9) with ESMTP id i7LNNJej007836 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 21 Aug 2004 16:23:19 -0700 (PDT) (envelope-from hartzell@rosebud.alerce.com) Received: (from hartzell@localhost) by rosebud.alerce.com (8.12.9p2/8.12.9/Submit) id i7LNNIWa007832; Sat, 21 Aug 2004 16:23:18 -0700 (PDT) (envelope-from hartzell) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16679.55653.369559.875648@rosebud.alerce.com> Date: Sat, 21 Aug 2004 16:23:17 -0700 To: freebsd-ports@freebsd.org X-Mailer: VM 7.14 under 21.4 (patch 14) "Reasonable Discussion" XEmacs Lucid X-Virus-Scanned: ClamAV version 'clamd / ClamAV version 0.65', clamav-milter version '0.60p' Subject: question about specifying amavisd-new option in pkgtools.conf? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hartzell@kestrel.alerce.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2004 23:22:46 -0000 There was a discussion here about a month ago about the relative merits of specifying port options in /etc/make.conf, port-specific Makefile.local files, or the pkgtools.conf (and probably others). I've been an inveterate Makefile.local supporter, but have been building a machine using the pkgtools.conf approach to see if it works for me.... I'm having a horrible time getting amavisd-new to build the way that I want it, without the milter stuff. The Makefile looks for a couple of files and if it can't find them, it does this: AMAVIS_NOMILTER="@comment " which is used in the pkg-plist file as a prefix to the lines that install the milter stuff. If it's defined as above, pkg_create ignore those lines, and viola, no milter installed! I've tried a variety of quotes and spaces in my pkgtools.conf MAKEARGS section, and can't get anything to work. Most of the (like this one) end up loosing the space and the install tools don't know what to do with @comment concatenated onto the beginning of a filename: 'security/amavisd-new' => 'AMAVIS_NOMILTER=@comment', pkg_create: read_plist: unknown command '@commentetc/rc.d/amavis-milter.sh' (package tools out of date?) Ditto with this: 'security/amavisd-new' => 'AMAVIS_NOMILTER="@comment "', The quotation marks get stripped out before it makes it all of the way in. Anyone out there have a suggestion to get this to work? g.