Date: Sat, 21 Aug 2004 16:23:17 -0700 From: George Hartzell <hartzell@kestrel.alerce.com> To: freebsd-ports@freebsd.org Subject: question about specifying amavisd-new option in pkgtools.conf? Message-ID: <16679.55653.369559.875648@rosebud.alerce.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16679.55653.369559.875648>