summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--graphics/gimp-devel/Makefile2
-rw-r--r--graphics/gimp/Makefile2
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 <bsd.port.pre.mk>
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 <bsd.port.pre.mk>
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