Date: Mon, 16 Apr 2007 23:04:39 +0200 (CEST) From: Mats Dufberg <mats@dufberg.se> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Mats Dufberg <mats@dufberg.se> Subject: ports/111745: graphics/gimp (gimp-2.2, 2) prevents itself from being updated Message-ID: <20070416210439.48D2F1148C@kafka.narnia.pp.se> Resent-Message-ID: <200704162110.l3GLA3cK096591@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 111745 >Category: ports >Synopsis: graphics/gimp (gimp-2.2,2) prevents itself from being updated >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 16 21:10:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Mats Dufberg >Release: FreeBSD 5.5-RELEASE-p9 i386 >Organization: private >Environment: System: FreeBSD kafka.narnia.pp.se 5.5-RELEASE-p9 FreeBSD 5.5-RELEASE-p9 #3: Sat Dec 9 02:05:57 CET 2006 dufberg@kafka.narnia.pp.se:/usr/obj/usr/src/sys/KAFKA i386 >Description: Upgrading graphics/gimp (gimp-2.2,2) without deinstalling it first is not possible since building it is prevented by its Makefile The following code will not only catch old gimp, but also itself: pre-everything:: @if [ -n "`${PKG_INFO} -xI '^gimp[-gnome]*[0-9].[0-9].[0-9]*' 2>/dev/null`" ]; then \ ${ECHO_CMD} "${PKGNAME}: Old version of gimp detected! Please see ${PORTSDIR}/UPDATING for information on upgrading ${PKGNAME}" ; \ ${FALSE}; \ fi >How-To-Repeat: Install graphics/gimp (gimp-2.2,2) and then try to run the following: # cd /usr/ports/graphics/gimp # make gimp-2.2,2: Old version of gimp detected! Please see /usr/ports/UPDATING for information on upgrading gimp-2.2,2 *** Error code 1 Stop in /usr/ports/graphics/gimp. *** Error code 1 Stop in /usr/ports/graphics/gimp. # >Fix: Work-around is to run "pkg_delete -f gimp-2.2,2" and the reinstall it. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070416210439.48D2F1148C>