openoffice.org-2.0, portinstall and MAKE_ARGS
Andrey Melentyev
andrey.melentyev at gmail.com
Sat Jun 10 17:14:18 UTC 2006
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'
],
...
}
portversion -l keeps silence => there is no sintax errors in pkgtools.conf
Sorry for ugly english, I'm still learning it :)
Thanks for the answers.
--
-wbr,
Andrey Melentyev
andrey.melentyev at gmail.com
More information about the freebsd-stable
mailing list