From owner-freebsd-questions@FreeBSD.ORG Sun Feb 7 21:38:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30EEB106566C for ; Sun, 7 Feb 2010 21:38:23 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from blue.stonehenge.com (cl-52.chi-02.us.sixxs.net [IPv6:2001:4978:f:33::2]) by mx1.freebsd.org (Postfix) with ESMTP id 06DED8FC12 for ; Sun, 7 Feb 2010 21:38:22 +0000 (UTC) Received: by blue.stonehenge.com (Postfix, from userid 1001) id 6A9451DE564; Sun, 7 Feb 2010 13:38:22 -0800 (PST) To: freebsd-questions@freebsd.org References: <8021a2661002070359g6c23344cq744a843024ebf565@mail.gmail.com> <20100207193216.GA59358@orange.esperance-linux.co.uk> <86eikw4ws6.fsf@blue.stonehenge.com> <20100207212357.GA59613@orange.esperance-linux.co.uk> From: merlyn@stonehenge.com (Randal L. Schwartz) x-mayan-date: Long count = 12.19.17.1.12; tzolkin = 9 Eb; haab = 10 Pax Date: Sun, 07 Feb 2010 13:38:22 -0800 In-Reply-To: <20100207212357.GA59613@orange.esperance-linux.co.uk> (Frank Shute's message of "Sun, 7 Feb 2010 21:23:57 +0000") Message-ID: <86aavk4tgx.fsf@blue.stonehenge.com> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: portupgrade, batch mode? 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: Sun, 07 Feb 2010 21:38:23 -0000 >>>>> "Frank" == Frank Shute writes: Frank> All the Perl ports I've installed (e.g p5-*) have just installed for Frank> me without any curses options menu. Lucky. :) Frank> Although I'd describe you as a "Perl power user" and undoubtedly have Frank> more Perl ports installed than I have. red.stonehenge.com:~ +# pkg_info | grep -c 'p5-' 3314 red.stonehenge.com:~ +# cat MAKE_ALL_PERL_PORTS #!/bin/sh cd /usr/ports || exit 1 pkg_info -q -o -a >/tmp/$$ for i in `ls -d */p5* | fgrep -vxf /tmp/$$` do if pkg_info -q -O $i | grep -q . then echo "SKIPPING $i - INSTALLED"; else ( cd $i && echo "<== $i ==>" && if make missing | grep -v '/p5-' then echo "SKIPPING $i - DEPENDENCIES" else ( trap ':' 2 make BATCH=yes install clean Are you talking about ports that depend on Perl? Can you give an Frank> example of a Perl port that asks you questions? Don't mean to be Frank> obstructive in any way; genuinely curious as AFAICR I haven't come Frank> across one. I wish I could remember. Just that something comes up every once in a while and I curse that the upgrade has stopped. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion