openoffice.org-2.0, portinstall and MAKE_ARGS

Vlad GALU vladgalu at gmail.com
Sun Jun 11 07:46:59 UTC 2006


On 6/11/06, Vlad GALU <vladgalu at gmail.com> wrote:
> On 6/10/06, Andrey Melentyev <andrey.melentyev at gmail.com> wrote:
> > Hi all!
> > I've got a problem with building editors/openoffice-2.0 on my FreeBSD-6.1.
> > I want to control the configure process via knobs, such as WITH_CUPS, WITH_KDE
> > and some others. When I try to install OOo this way:
> >
> > portupgrade -Nvm "-DWITH_KDE -DWITH_CUPS -DWITH_CCACHE -DWITH_GPC -DWITHOUT_MOZILLA"
> > editors/openoffice.org-2.0
> >
> > I see right messages about make flags:
> >
> > --->  Session started at: Sat, 10 Jun 2006 16:34:58 +0400
> > --->  Fresh installation of editors/openoffice.org-2.0 started at: Sat, 10 Jun
> > 2006 16:34:58 +0400
> > --->  Installing 'openoffice.org-2.0.3rc5' from a port
> > (editors/openoffice.org-2.0)
> > --->  Build of editors/openoffice.org-2.0 started at: Sat, 10 Jun 2006
> > 16:35:03 +0400
> > --->  Building '/usr/ports/editors/openoffice.org-2.0' with make
> > flags: -DWITH_KDE -DWITH_CUPS -DWITH_CCACHE -DWITH_GPC -DWITHOUT_MOZILLA
> >
> > But if I put those make flags into /usr/local/etc/pkgtools.conf, then I get no
> > message about custom make flags, and if I look
> > at /usr/ports/editors/openoffice.org-2.0/work/config_office/config.log, I see
> > that my make flags are not working properly.
> > My pkgtools.conf part:
> >
> >  MAKE_ARGS = {
> >         ...
> >         'editors/openoffice.org-2.0' => [
> >       '-DWITH_CUPS',
> >         '-DWITH_KDE',
> >       'LOCALIZED_LANG=ru',
> >       '-DWITH_GPC',
> >       '-DWITH_CCACHE'
> >     ],
> >         ...
> > }
>
>    FWIW, I spotted the same problem today. portupgrade -N doesn't pick
> up the MAKE_ARGS from pkgtools.conf.
>

    FYI, after updating portupgrade to 2.1.2_1,1, everything works correctly.

-- 
If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.


More information about the freebsd-ports mailing list