Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2006 16:42:05 +0400
From:      Andrey Melentyev <andrey.melentyev@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   openoffice.org-2.0, portinstall and MAKE_ARGS
Message-ID:  <200606101642.06268.andrey.melentyev@gmail.com>

next in thread | raw e-mail | index | archive | help
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@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606101642.06268.andrey.melentyev>