summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/gtk2/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11/gtk2/Makefile b/x11/gtk2/Makefile
index d9a94d0102e..42862f0023b 100644
--- a/x11/gtk2/Makefile
+++ b/x11/gtk2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.187 2009/10/05 06:28:11 sketch Exp $
+# $NetBSD: Makefile,v 1.188 2009/10/05 08:39:06 sketch Exp $
DISTNAME= gtk+-2.16.6
PKGNAME= ${DISTNAME:S/gtk/gtk2/}
@@ -51,8 +51,8 @@ BUILD_DIRS= . demos/gtk-demo
# gtk/Makefile.am hardcodes 'grep -o' so require GNU grep on platforms
# which do not have it.
.if ${OPSYS} == "SunOS"
-DEPENDS+= grep:../../textproc/grep
-TOOLS_PLATFORM.grep= ${LOCALBASE}/bin/${GNU_PROGRAM_PREFIX}grep
+BUILD_DEPENDS+= grep-[0-9]*:../../textproc/grep
+TOOLS_PATH.grep= ${LOCALBASE}/bin/${GNU_PROGRAM_PREFIX}grep
.endif
CPPFLAGS+= -DPREFIX="\"${PREFIX}\""