From 0b9aeb898acab8f0f87069c3290ce75944ae57c4 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Thu, 5 Apr 2007 12:25:13 +0000 Subject: - Detect old versions gimp-gnome along with gimp PR: 111266 Submitted by: Lars Kristiansen --- graphics/gimp-devel/Makefile | 2 +- graphics/gimp/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/graphics/gimp-devel/Makefile b/graphics/gimp-devel/Makefile index 563304c3d468..2b64a603944a 100644 --- a/graphics/gimp-devel/Makefile +++ b/graphics/gimp-devel/Makefile @@ -29,7 +29,7 @@ NO_BUILD= yes .include pre-everything:: - @if [ -n "`${PKG_INFO} -xI '^gimp-devel-[0-9].[0-9].[0-9]*' 2>/dev/null`" ]; then \ + @if [ -n "`${PKG_INFO} -xI '^gimp-devel*-[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 diff --git a/graphics/gimp/Makefile b/graphics/gimp/Makefile index 39485b20f66c..41352f5524c2 100644 --- a/graphics/gimp/Makefile +++ b/graphics/gimp/Makefile @@ -27,7 +27,7 @@ NO_BUILD= yes .include pre-everything:: - @if [ -n "`${PKG_INFO} -xI '^gimp-[0-9].[0-9].[0-9]*' 2>/dev/null`" ]; then \ + @if [ -n "`${PKG_INFO} -xI '^gimp-*[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 -- cgit v1.2.3