Skip site navigation (1)Skip section navigation (2)
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
=F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 11 =C9=C0=CE=D1 2006 11:46 Vlad GALU=
 =CE=C1=D0=C9=D3=C1=CC(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: Sa=
t,
> > > 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.lo=
g,
> > > I see that my make flags are not working properly.
> > > My pkgtools.conf part:
> > >
> > >  MAKE_ARGS =3D {
> > >         ...
> > >         'editors/openoffice.org-2.0' =3D> [
> > >       '-DWITH_CUPS',
> > >         '-DWITH_KDE',
> > >       'LOCALIZED_LANG=3Dru',
> > >       '-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=20
updated to 2.1.2_1,1 version:
# portversion -v sysutils/portupgrade
portupgrade-2.1.2_1,1       =3D  up-to-date with port

But the symptoms with openoffice.org-2.0 are still the same. Some other por=
ts=20
(such as vim, xchat, firefox-i18n) work fine with MAKE_ARGS. Maybe the erro=
r=20
is in port name in pkgtools.conf? I tried different ways of specifying port=
=20
name: editors/openoffice.org-2.0, openoffice.org-2.0, openoffice.org,=20
openoffice, editors/openoffice.org* ans so on. No luck.

=2D-=20
=2Dwbr,
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>