aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-05-25 00:25:41 +0800
committermarcus <marcus@FreeBSD.org>2002-05-25 00:25:41 +0800
commit7536336d1769945cd57e78a1b2a5811e0fa49a30 (patch)
treed74640758e565c23db5a8bc850b3f045cf4e533f /x11
parent05121066dfa81313607cacc553a28a7747ac10c1 (diff)
downloadfreebsd-ports-gnome-7536336d1769945cd57e78a1b2a5811e0fa49a30.tar.gz
freebsd-ports-gnome-7536336d1769945cd57e78a1b2a5811e0fa49a30.tar.zst
freebsd-ports-gnome-7536336d1769945cd57e78a1b2a5811e0fa49a30.zip
Correct regular expression to be more strict.
Reported by: Gregory O <Go@GregoryO.com>
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/gnome2/Makefile b/x11/gnome2/Makefile
index 5f9b3c8cc0cb..cbba06d65360 100644
--- a/x11/gnome2/Makefile
+++ b/x11/gnome2/Makefile
@@ -46,7 +46,7 @@ GNOME_ONE_DESKTOP= gnomecore gnomeapplets gnomemedia gnomeutils \
pre-everything::
@for package in ${GNOME_ONE_DESKTOP}; do \
- if ${PKG_INFO} | ${GREP} $$package"-[0-9]" >/dev/null 2>&1; then \
+ if ${PKG_INFO} | ${GREP} "^$$package-[0-9]" >/dev/null 2>&1; then \
${ECHO_MSG} "$$package was detected on the system. This package is part of the GNOME 1.x"; \
${ECHO_MSG} "desktop, and cannot coexist with the GNOME 2.0 desktop."; \
${ECHO_MSG} ""; \