From owner-freebsd-questions@FreeBSD.ORG Mon Oct 17 20:34: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 EEE4716A41F for ; Mon, 17 Oct 2005 20:34:15 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail27.sea5.speakeasy.net (mail27.sea5.speakeasy.net [69.17.117.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 601D143D6B for ; Mon, 17 Oct 2005 20:34:10 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 13547 invoked from network); 17 Oct 2005 20:34:09 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail27.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 17 Oct 2005 20:34:09 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 3D5F43E; Mon, 17 Oct 2005 16:34:08 -0400 (EDT) Sender: lowell@be-well.ilk.org To: list@museum.rain.com References: <20051016061748.GA39039@ns.museum.rain.com> From: Lowell Gilbert Date: 17 Oct 2005 16:34:07 -0400 In-Reply-To: <20051016061748.GA39039@ns.museum.rain.com> Message-ID: <44irvv288w.fsf@be-well.ilk.org> Lines: 48 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 20:34:16 -0000 James Long writes: > 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', > > After completing a CVS update of my ports tree at 23:08 PDT 10/15/05, > portupgrade shows all the rest of my ports are up to date. > > All of this is on 5.4-STABLE circa 10/1/05. Offhand, I can't follow all of the ghostscript logic, so you might try adding WITHOUT_GHOSTSCRIPT. Also, it might be an indirect dependency. Is one of the other dependencies pulling it in?