From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 06:44:32 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 3AAFF16A4CE for ; Thu, 13 Jan 2005 06:44:32 +0000 (GMT) Received: from wolf.bytecraft.au.com (wolf.bytecraft.au.com [203.39.118.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97B7343D2F for ; Thu, 13 Jan 2005 06:44:30 +0000 (GMT) (envelope-from MTaylor@bytecraft.com.au) Received: from localhost (localhost [127.0.0.1])j0D6iSjY055298; Thu, 13 Jan 2005 17:44:28 +1100 (EST) (envelope-from MTaylor@bytecraft.com.au) Received: from wolf.bytecraft.au.com ([127.0.0.1]) by localhost (wolf.bytecraft.au.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 53893-08; Thu, 13 Jan 2005 17:44:27 +1100 (EST) Received: from svmarshal.bytecraft.au.com ([10.0.0.4])j0D6iQAw055294; Thu, 13 Jan 2005 17:44:27 +1100 (EST) (envelope-from MTaylor@bytecraft.com.au) Received: from svmailmel.bytecraft.internal (Not Verified[10.0.0.24]) by svmarshal.bytecraft.au.com with MailMarshal (v5,0,3,78) id ; Thu, 13 Jan 2005 17:44:26 +1100 Received: from [10.0.17.42] ([10.0.17.42]) by svmailmel.bytecraft.internal with Microsoft SMTPSVC(6.0.3790.211); Thu, 13 Jan 2005 17:44:26 +1100 From: Murray Taylor To: "Bill Schmitt (SW)" In-Reply-To: <41E5B2AD.9000702@schmittnet.com> References: <41E5B2AD.9000702@schmittnet.com> Organization: Bytecraft Systems Message-Id: <1105598665.6683.642.camel@wstaylorm.dand06.au.bytecraft.au.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 13 Jan 2005 17:44:26 +1100 X-OriginalArrivalTime: 13 Jan 2005 06:44:26.0532 (UTC) FILETIME=[53126E40:01C4F93B] Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: questions@freebsd.org Subject: Re: Defining MAKE_ARGS in pkgtools.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mtaylor@bytecraft.com.au List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2005 06:44:32 -0000 On Thu, 2005-01-13 at 10:28, Bill Schmitt (SW) wrote: > 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? > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > ***This Email has been scanned for Viruses by MailMarshal.***MAKE_ARGS = { > 'deskutils/moregroupware' => '-DWITH_APACHE2 WITH_MODULES', > } Need t oput in the -D make option and also a trailing comma .. seems odd and I dont think it really matters (the comma), but then its in place for the next make option... from my pkgtools.conf MAKE_ARGS = { 'evolution' => '-DWITH_LDAP', 'jdk14' => '-DWITH_NATIVE_THREADS', 'kde*' => '-DWITHOUT_ARTSWRAPPER -DWITH_OPTIONAL_DEPENDS', 'ghostscript-gnu*' => 'A4=YES' , } if it is a make option that takes a value -- no -D cheers mjt -- Murray Taylor Special Projects Engineer --------------------------------- Bytecraft Systems & Entertainment P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 M: +61 417 319 256 E: murraytaylor@bytecraftsystems.com or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com --------------------------------------------------------------- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --------------------------------------------------------------- ***This Email has been scanned for Viruses by MailMarshal.***