From owner-freebsd-ports@FreeBSD.ORG Tue Jul 20 02:01:16 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30893106566C for ; Tue, 20 Jul 2010 02:01:16 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id B2CA38FC0A for ; Tue, 20 Jul 2010 02:01:15 +0000 (UTC) Received: (qmail 1380 invoked by uid 399); 20 Jul 2010 02:01:14 -0000 Received: from localhost (HELO laptop.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 20 Jul 2010 02:01:14 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Date: Mon, 19 Jul 2010 19:01:13 -0700 (PDT) From: Doug Barton To: Roger Marquis In-Reply-To: <20100720012812.6AFA52B21BA@mx5.roble.com> Message-ID: References: <20100720012812.6AFA52B21BA@mx5.roble.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-message-flag: Outlook -- Not just for spreading viruses anymore! OpenPGP: id=1A1ABC84 Organization: http://SupersetSolutions.com/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-ports@freebsd.org Subject: Re: USE_PERL5_BUILD on perl-less system/jail Q X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2010 02:01:16 -0000 On Mon, 19 Jul 2010, Roger Marquis wrote: > Is there an option somewhere to deinstall Perl after installing a port that > specifies "USE_PERL5_BUILD=yes"? > > This is a PITA on jails and other systems with minimal software and > strict disk limits. Applications using USE_PERL5_BUILD add non-trivial > time and overhead to installations and upgrades, then don't remove the > build dependency afterwards. Most of these apps don't even appear to > need Perl but for an operation or two that could have been done in a BASE > language like awk or sh. > > Anyone know of a workaround, I mean other than manual pkg_delete? Wow, it's shameless plug day here on freebsd-ports@! :) Portmaster has an option to do exactly this, --delete-build-only. You should also look at the --packages-build option. hth, Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ Computers are useless. They can only give you answers. -- Pablo Picasso