- Better detect gimp-gnome

Submitted by:	Lars Kristiansen <lars+lister.freebsd@adventuras.no>
This commit is contained in:
Michael Johnson 2007-04-05 13:29:39 +00:00
parent 8413b1b1d5
commit 4a257f7496
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189289
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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