From owner-freebsd-questions@FreeBSD.ORG Sun Oct 16 17:47:41 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 1E23B16A41F for ; Sun, 16 Oct 2005 17:47:41 +0000 (GMT) (envelope-from list@museum.rain.com) Received: from ns.museum.rain.com (gw-ipinc.museum.rain.com [65.75.192.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8852B43D53 for ; Sun, 16 Oct 2005 17:47:40 +0000 (GMT) (envelope-from list@museum.rain.com) Received: from ns.museum.rain.com (localhost [127.0.0.1]) by ns.museum.rain.com (8.13.4/8.13.4) with ESMTP id j9GHlDKF045880 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Sun, 16 Oct 2005 10:47:32 -0700 (PDT) (envelope-from list@umpquanet.com) Received: (from list@localhost) by ns.museum.rain.com (8.13.4/8.13.4/Submit) id j9G6HmZ5044087 for freebsd-questions@freebsd.org; Sat, 15 Oct 2005 23:17:48 -0700 (PDT) (envelope-from list) Date: Sat, 15 Oct 2005 23:17:48 -0700 From: James Long To: freebsd-questions@freebsd.org Message-ID: <20051016061748.GA39039@ns.museum.rain.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-101.4 required=5.0 tests=ALL_TRUSTED, USER_IN_WHITELIST autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on ns.museum.rain.com Subject: 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: list@museum.rain.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2005 17:47:41 -0000 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.