From owner-freebsd-questions@FreeBSD.ORG Mon Oct 17 19:58:15 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA18516A422 for ; Mon, 17 Oct 2005 19:58:15 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from relay01.roc.ny.frontiernet.net (relay01.roc.ny.frontiernet.net [66.133.182.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6CB443D46 for ; Mon, 17 Oct 2005 19:58:14 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from filter05.roc.ny.frontiernet.net (filter05.roc.ny.frontiernet.net [66.133.183.72]) by relay01.roc.ny.frontiernet.net (Postfix) with ESMTP id DCBC836845A; Mon, 17 Oct 2005 19:53:21 +0000 (UTC) Received: from relay01.roc.ny.frontiernet.net ([66.133.182.164]) by filter05.roc.ny.frontiernet.net (filter05.roc.ny.frontiernet.net [66.133.183.72]) (amavisd-new, port 10024) with LMTP id 25412-12-63; Mon, 17 Oct 2005 19:53:21 +0000 (UTC) Received: from blacklamb.mykitchentable.net (67-51-164-214.dsl1.elk.ca.frontiernet.net [67.51.164.214]) by relay01.roc.ny.frontiernet.net (Postfix) with ESMTP id 8874B365F18; Mon, 17 Oct 2005 19:45:50 +0000 (UTC) Received: from [165.107.42.123] (unknown [165.107.42.123]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTP id CAFB71536A2; Mon, 17 Oct 2005 12:45:49 -0700 (PDT) Message-ID: <4353FEF8.90503@mykitchentable.net> Date: Mon, 17 Oct 2005 12:43:52 -0700 From: Drew Tomlinson User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: list@museum.rain.com References: <20051016061748.GA39039@ns.museum.rain.com> In-Reply-To: <20051016061748.GA39039@ns.museum.rain.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-2.3.2 (20050629) at filter05.roc.ny.frontiernet.net Cc: freebsd-questions@freebsd.org Subject: Re: portupgrade: what must I fix in this pkgtools.conf entry? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 19:58:15 -0000 On 10/15/2005 11:17 PM James Long wrote: >I've been aware of pkgtools.conf but hadn't buckled down to suss out the syntax >prior to recently. Thanks to Dru Lavigne's excellent article at onlamp.com, I'm >working on my first attempt at setting make variables in pkgtools.conf. > >First, is there something I've specified incorrectly in my pkgtools.conf (below)? >More generally, I haven't found anything in the portupgrade man page that would >describe a switch that would cause portupgrade to output an indication of what >configuration information it might have parsed from pkgtools.conf, that would >help me figure out (sooner in the build process) whether portupgrade is parsing >my pkgtools.conf successfully. Is there some way to make portupgrade be verbose >about what actions it is taking based on pkgtools.conf directives? > >Here is the MAKE_ARGS section of /usr/local/etc/pkgtools.conf: > > MAKE_ARGS = { > 'graphics/ImageMagick-*' => 'WITHOUT_IMAGEMAGICK_TTF=1 WITHOUT_IMAGEMAGICK_PDF=1 WITHOUT_X11=1 WITHOUT_IMAGEMAGICK_PERL=1', > } > >According to my reading of the Makefile, eliminating TTF and PDF support ought to >be sufficient to eliminate the need for ghostscript, but still, "portupgrade -N >ImageMagick" wants to build ghostscript-gnu-7.07_13 as a dependency. > >ns : 22:41:38 /root# ls -l /usr/local/etc/pkgtools.conf >-r--r--r-- 1 root wheel 13872 Oct 15 21:42 /usr/local/etc/pkgtools.conf > >ns : 22:41:45 /root# grep -1 Magick /usr/local/etc/pkgtools.conf > MAKE_ARGS = { > 'graphics/ImageMagick-*' => 'WITHOUT_IMAGEMAGICK_TTF=1 WITHOUT_IMAGEMAGICK_PDF=1 WITHOUT_X11=1 WITHOUT_IMAGEMAGICK_PERL=1', > } > >Everything else in pkgtools.conf is stock: > >ns : 22:47:01 /root# diff /usr/local/etc/pkgtools.conf.sample /usr/local/etc/pkgtools.conf >310a311 > > >> 'graphics/ImageMagick-*' => 'WITHOUT_IMAGEMAGICK_TTF=1 WITHOUT_IMAGEMAGICK_PDF=1 WITHOUT_X11=1 WITHOUT_IMAGEMAGICK_PERL=1', >> ^^^ If this is your entire 'MAKE_ARGS' line, you don't need a "," at the end. I'm just guessing but maybe the "," is causing the line not to parse properly. Good luck, Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, & More! http://www.alchemistswarehouse.com