From owner-freebsd-ports@FreeBSD.ORG Mon Jul 27 22:52:10 2009 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 C4BD21065674 for ; Mon, 27 Jul 2009 22:52:10 +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 54EDA8FC24 for ; Mon, 27 Jul 2009 22:52:10 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 19542 invoked by uid 399); 27 Jul 2009 22:52:06 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 27 Jul 2009 22:52:06 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4A6E2F94.7010402@FreeBSD.org> Date: Mon, 27 Jul 2009 15:52:04 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.22 (X11/20090625) MIME-Version: 1.0 To: "Jason J. Hellenthal" References: <20090720134000.3b7e201a.jasonh@DataIX.net> <+hmeb5LYcL@dmeyer.dinoex.sub.org> <20090723062213.bf871b6c.jasonh@DataIX.net> In-Reply-To: <20090723062213.bf871b6c.jasonh@DataIX.net> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Dirk Meyer , freebsd-ports@freebsd.org Subject: Re: graphics/jpeg especially UPDATING 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: Mon, 27 Jul 2009 22:52:11 -0000 Jason J. Hellenthal wrote: > If you pkg_delete -r that will remove every package that depends on jpeg. This is not the right way of just getting rid of jpeg considering it involves the complete almost full re-installation of the entire system manually. > > A better route to upgrade would be: pkg_delete -f jpeg-\* > reinstall the new jpeg and then portmaster -r jpeg-\* There is no need to do the pkg_delete first, and in fact I do not recommend it. 'portmaster -r jpeg-' will accomplish what you want to do on its own. On the other hand, since just about every X-related binary links to libjpeg you may want to consider using 'portmaster -w jpeg-' instead. That will update you to jpeg-7 but leave the old library in /usr/local/lib/compat/pkg. That way things linked against the old library will still work and at some point in the future you can delete the old library when everything (or almost everything) has been updated in the natural course of events. hope this helps, Doug -- This .signature sanitized for your protection