From owner-freebsd-stable@FreeBSD.ORG Sun Jun 11 08:10:28 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E25116A41A for ; Sun, 11 Jun 2006 08:10:28 +0000 (UTC) (envelope-from andrey.melentyev@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE60943D45 for ; Sun, 11 Jun 2006 08:10:27 +0000 (GMT) (envelope-from andrey.melentyev@gmail.com) Received: by nf-out-0910.google.com with SMTP id i2so742991nfe for ; Sun, 11 Jun 2006 01:10:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=ElWaReWS+QoCjjiq6LYPfGo8MB3daxi5Ux2UmtcYZIszYHpCx+Him1CICAxyYuk1RcKX/oPDB6rl7ltOC7DnKfbMf1KEnCb0JDgN6mUkmQbVx1cY7RqDFbJBdBme/cbcnvv3EiVJkK12IGTnl5cCUfmJBUGZBpZa7Rcl+mgLQew= Received: by 10.49.93.15 with SMTP id v15mr3812551nfl; Sun, 11 Jun 2006 01:10:26 -0700 (PDT) Received: from rikz.local ( [80.70.236.16]) by mx.gmail.com with ESMTP id l22sm5222159nfc.2006.06.11.01.10.25; Sun, 11 Jun 2006 01:10:25 -0700 (PDT) From: Andrey Melentyev To: freebsd-stable@freebsd.org Date: Sun, 11 Jun 2006 12:10:31 +0400 User-Agent: KMail/1.9.3 References: <200606101642.06268.andrey.melentyev@gmail.com> <79722fad0606101404h5e9a14f3o404019d09d90df3@mail.gmail.com> <79722fad0606110046i4d6101b7ka469c5b01f2e5bb@mail.gmail.com> In-Reply-To: <79722fad0606110046i4d6101b7ka469c5b01f2e5bb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606111210.31450.andrey.melentyev@gmail.com> Subject: Re: openoffice.org-2.0, portinstall and MAKE_ARGS X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2006 08:10:28 -0000 =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 wrote: > > On 6/10/06, Andrey Melentyev 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