aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2007-04-05 21:29:39 +0800
committerahze <ahze@FreeBSD.org>2007-04-05 21:29:39 +0800
commit16a82c2b4945e6aaa7fd34121995c19e193ca64b (patch)
treeaa97f0f2663b2325cacd54d6b84cdca18e3a18af /graphics
parent3cb7e366ed35da4d8298e8815ec5b072951a61b5 (diff)
downloadfreebsd-ports-gnome-16a82c2b4945e6aaa7fd34121995c19e193ca64b.tar.gz
freebsd-ports-gnome-16a82c2b4945e6aaa7fd34121995c19e193ca64b.tar.zst
freebsd-ports-gnome-16a82c2b4945e6aaa7fd34121995c19e193ca64b.zip
- Better detect gimp-gnome
Submitted by: Lars Kristiansen <lars+lister.freebsd@adventuras.no>
Diffstat (limited to 'graphics')
-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 2b64a603944a..8f04dede40c9 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[-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
diff --git a/graphics/gimp/Makefile b/graphics/gimp/Makefile
index 41352f5524c2..288dedbbd604 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[-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