aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gnome2
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnome2')
-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} ""; \