Date: Sun, 11 Jun 2006 12:10:31 +0400 From: Andrey Melentyev <andrey.melentyev@gmail.com> To: freebsd-stable@freebsd.org Subject: Re: openoffice.org-2.0, portinstall and MAKE_ARGS Message-ID: <200606111210.31450.andrey.melentyev@gmail.com> In-Reply-To: <79722fad0606110046i4d6101b7ka469c5b01f2e5bb@mail.gmail.com> References: <200606101642.06268.andrey.melentyev@gmail.com> <79722fad0606101404h5e9a14f3o404019d09d90df3@mail.gmail.com> <79722fad0606110046i4d6101b7ka469c5b01f2e5bb@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
В сообщении от 11 июня 2006 11:46 Vlad GALU написал(a):
> On 6/11/06, Vlad GALU <vladgalu@gmail.com> wrote:
> > On 6/10/06, Andrey Melentyev <andrey.melentyev@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.
'portversion -v sysutils/portupgrade' says, that portupgrade is already
updated to 2.1.2_1,1 version:
# portversion -v sysutils/portupgrade
portupgrade-2.1.2_1,1 = up-to-date with port
But the symptoms with openoffice.org-2.0 are still the same. Some other ports
(such as vim, xchat, firefox-i18n) work fine with MAKE_ARGS. Maybe the error
is in port name in pkgtools.conf? I tried different ways of specifying port
name: editors/openoffice.org-2.0, openoffice.org-2.0, openoffice.org,
openoffice, editors/openoffice.org* ans so on. No luck.
--
-wbr,
Andrey Melentyev
andrey.melentyev@gmail.com
+7-904-644-91-66
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606111210.31450.andrey.melentyev>
