From owner-freebsd-ports@FreeBSD.ORG Sun Oct 14 23:28:47 2007 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 7F87316A474 for ; Sun, 14 Oct 2007 23:28:47 +0000 (UTC) (envelope-from hemi@puresimplicity.net) Received: from just.puresimplicity.net (just.puresimplicity.net [68.77.126.251]) by mx1.freebsd.org (Postfix) with ESMTP id 0A8B313C467 for ; Sun, 14 Oct 2007 23:28:46 +0000 (UTC) (envelope-from hemi@puresimplicity.net) Received: from just.puresimplicity.net (localhost.puresimplicity.net [127.0.0.1]) by just.puresimplicity.net (8.13.8/8.13.8) with ESMTP id l9ENSjND010419 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 14 Oct 2007 18:28:46 -0500 (CDT) (envelope-from hemi@just.puresimplicity.net) Received: (from hemi@localhost) by just.puresimplicity.net (8.13.8/8.13.8/Submit) id l9ENSj59010418; Sun, 14 Oct 2007 18:28:45 -0500 (CDT) (envelope-from hemi) Date: Sun, 14 Oct 2007 18:28:45 -0500 From: Josh Tolbert To: Paul Schmehl Message-ID: <20071014232845.GA10400@just.puresimplicity.net> References: <20071014214854.GA9785@just.puresimplicity.net> <70B9DC0A085AF432265C026C@paul-schmehls-powerbook59.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <70B9DC0A085AF432265C026C@paul-schmehls-powerbook59.local> User-Agent: Mutt/1.4.2.3i X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-2.0.2 (just.puresimplicity.net [127.0.0.1]); Sun, 14 Oct 2007 18:28:46 -0500 (CDT) Cc: freebsd-ports@freebsd.org Subject: Re: I don't understand this 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: Sun, 14 Oct 2007 23:28:47 -0000 On Sun, Oct 14, 2007 at 05:11:22PM -0500, Paul Schmehl wrote: > --On October 14, 2007 4:48:54 PM -0500 Josh Tolbert > wrote: > > > >It really is pretty straightforward. You have to get rid of _all_ > >of php4 before you install php5, then make sure the portsdb is > >straightened out. I'm not sure why folks are having so much trouble > >with this... > > > Well, I'll tell you why *I* had trouble with it. When you run "make > install clean" on the php?-extensions port, it *installs* the extensions. > Naturally, I expected that when I ran the uninstall, it would uninstall > the same ports that it installed previously. In fact, when you uninstall > the php4-extensions port, it *says* it uninstalled, but it *does* nothing. > It doesn't even remove the ports from the ports db - nor does it remove > the files installed with each extension port. > > That's *not* expected behavior for a port. > > I had no problem correcting the problem, but I should have had to. If > it's not possible to uninstall the extensions ports from php4-extensions, > then it should tell you that when you try to run deinstall. For me it was > a minor inconvenience. For a newbie, it could be a disaster. (18:26:23 ) $ cat pkg-descr This is a "meta-port" to install the extensions for PHP 5. Defaults to: ctype, dom, iconv, pcre, posix, session, simplexml, sqlite, tokenizer and xml. WWW: http://www.php.net/ - Alex Dupre ale@FreeBSD.org I don't see where you'd get the impression that it would let you deinstall any ports from that metaport. All it does is install other ports. Now, if you'd have done a recursive pkg_delete for ports php?-extensions depends on, it would have deinstalled all the ports it installed...But you'd be in a world of hurt in other ways. Josh -- Josh Tolbert hemi@puresimplicity.net || http://www.puresimplicity.net/~hemi/ Security is mostly a superstition. It does not exist in nature, nor do the children of men as a whole experience it. Avoiding danger is no safer in the long run than outright exposure. Life is either a daring adventure, or nothing. -- Helen Keller