From owner-freebsd-stable@FreeBSD.ORG Sat Jun 10 21:04:56 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 3AA5916A41B for ; Sat, 10 Jun 2006 21:04:56 +0000 (UTC) (envelope-from vladgalu@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F84444835 for ; Sat, 10 Jun 2006 21:04:55 +0000 (GMT) (envelope-from vladgalu@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so220292wra for ; Sat, 10 Jun 2006 14:04:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pRChfNGdbpOnZlkbbBlzKvuoNKWLsTRrwhB9rBi7gT7oDV3nv2Z5pBwVB+ADeyM8DUUSsNO5uLLKgLtD2ZQMEq1fx0Lu2Yi9hKIX8CNqRsSXwUhNbEPsvMnfJ6z10CkxnmcOWw+1k54OhVXqVmV/WQ9DnAhO7OyXZAnFQVCB4lI= Received: by 10.54.71.14 with SMTP id t14mr2452295wra; Sat, 10 Jun 2006 14:04:54 -0700 (PDT) Received: by 10.54.128.7 with HTTP; Sat, 10 Jun 2006 14:04:54 -0700 (PDT) Message-ID: <79722fad0606101404h5e9a14f3o404019d09d90df3@mail.gmail.com> Date: Sun, 11 Jun 2006 00:04:54 +0300 From: "Vlad GALU" To: freebsd-stable@freebsd.org, freebsd-ports@freebsd.org In-Reply-To: <200606101642.06268.andrey.melentyev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200606101642.06268.andrey.melentyev@gmail.com> Cc: 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: Sat, 10 Jun 2006 21:04:56 -0000 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: 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. -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it.