From owner-freebsd-ports@FreeBSD.ORG Sat Nov 5 04:10:04 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0C6A16A41F for ; Sat, 5 Nov 2005 04:10:04 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: from mailout2.pacific.net.au (mailout2.pacific.net.au [61.8.0.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE98943D45 for ; Sat, 5 Nov 2005 04:10:02 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout2.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id jA54A1Mg009897; Sat, 5 Nov 2005 15:10:01 +1100 Received: from [192.168.0.7] (ppp283C.dyn.pacific.net.au [61.8.40.60]) by mailproxy1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id jA549xLG029027; Sat, 5 Nov 2005 15:10:00 +1100 In-Reply-To: <17260.11594.78899.465990@roam.psg.com> References: <17260.1322.542751.224777@roam.psg.com> <48BD55D4-C668-4538-92D3-0F44EAA20AC4@brooknet.com.au> <17260.3134.688977.462078@roam.psg.com> <2C2470C3-6E8B-4485-A99A-D2294DD54034@brooknet.com.au> <17260.3367.54955.183366@roam.psg.com> <17260.7879.966887.506503@roam.psg.com> <20051105030046.GA34356@xor.obsecurity.org> <17260.8628.999676.370092@roam.psg.com> <20051105031744.GA50437@xor.obsecurity.org> <17260.11594.78899.465990@roam.psg.com> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <82BBCD8F-3064-4FEE-A683-93BB24B83448@brooknet.com.au> Content-Transfer-Encoding: 7bit From: Sam Lawrance Date: Sat, 5 Nov 2005 15:10:26 +1100 To: Randy Bush X-Mailer: Apple Mail (2.734) Cc: ports@freebsd.org Subject: Re: Azureus_2.3.0.4 dependency missing 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: Sat, 05 Nov 2005 04:10:04 -0000 On 05/11/2005, at 2:55 PM, Randy Bush wrote: >> Look at the example in the pkg_which manpage and go through and clean >> out all the old cruft you have on your system (back it up first in >> case you make a mistake). >> > > # find /usr/local /usr/X11R6 -type f | xargs pkg_which -v | fgrep > '?' | wc > 37912 75824 2379746 > > uh, piping that to awk and rm would be a total disaster. it would > remove all of the current perl port, and 42 similar pieces. going > through by hand finds little it would do that actually needs to be > done. something is very broken here. Perl would be one of the major victims of having FORCE_PACKAGE_REGISTER always set. Many Perl-related files are installed with a version in the pathname. For example, when portupgrading after a perl upgrade, the dependency checks run by the port makefile look under the new version pathname rather than the old version one. The port would find no file under the new version and so proceeds to install the dependency (which ordinarily would fail if FORCE_PKG_REGISTER is not set), leaving behind crusty remnants of the old version.