Date: Thu, 13 Jan 2005 17:44:26 +1100 From: Murray Taylor <murraytaylor@bytecraft.com.au> To: "Bill Schmitt (SW)" <software@schmittnet.com> Cc: questions@freebsd.org Subject: Re: Defining MAKE_ARGS in pkgtools.conf Message-ID: <1105598665.6683.642.camel@wstaylorm.dand06.au.bytecraft.au.com> In-Reply-To: <41E5B2AD.9000702@schmittnet.com> References: <41E5B2AD.9000702@schmittnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1105598665.6683.642.camel>