From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 23:28:33 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CF5816A4CE for ; Wed, 12 Jan 2005 23:28:33 +0000 (GMT) Received: from idesigns.net (idesigns.net [209.239.38.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF14F43D49 for ; Wed, 12 Jan 2005 23:28:32 +0000 (GMT) (envelope-from software@schmittnet.com) Received: from [127.0.0.1] (ct-seymour2d-19.wtrbct.adelphia.net [68.71.172.19]) by idesigns.net (8.12.10/8.12.10) with ESMTP id j0CNSUAM008368 for ; Wed, 12 Jan 2005 18:28:31 -0500 Message-ID: <41E5B2AD.9000702@schmittnet.com> Date: Wed, 12 Jan 2005 18:28:45 -0500 From: "Bill Schmitt (SW)" User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Defining MAKE_ARGS in pkgtools.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2005 23:28:33 -0000 I'm trying to define some arguments in pkgtools.conf to use in a portinstall of moregroupware (deskutils/moregroupware). I haven't used pkgtools.conf before, and I'm apparently doing something wrong. I'm doing this under FBSD 4.9. In the Makefile, there is a section that states: .if defined(WITH_APACHE2) RUN_DEPENDS=${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4 .else RUN_DEPENDS=${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 .endif .if defined(WITH_MODULES) DISTFILES+=${PORTNAME}-modules-insecure-${PORTVERSION}${EXTRACT_SUFX} PLIST_SUB+=MODULES="" .else PLIST_SUB+=MODULES="@comment " .endif (note I removed some spaces to make wrapping fit) So, in the pkgtools.conf file, I added: MAKE_ARGS = { 'deskutils/moregroupware' => 'WITH_APACHE2 WITH_MODULES' } But, when I execute portupgrade moregroupware, I receive a message that states: make: don't know how to make WITH_APACHE2. Stop What am I doing wrong?