summaryrefslogtreecommitdiff
path: root/textproc/grep
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2002-12-06 15:29:20 +0000
committercjep <cjep@pkgsrc.org>2002-12-06 15:29:20 +0000
commitf11468cf52b2501e86e4c035f4b5a41f2078e966 (patch)
tree0d0b6162ade43a17fb5bdc0379fe286297167575 /textproc/grep
parent6993d9a63996f7b88c1259673766a43e17fb8255 (diff)
downloadpkgsrc-f11468cf52b2501e86e4c035f4b5a41f2078e966.tar.gz
Fix up configure nit for Solaris. Suggested by tron.
Diffstat (limited to 'textproc/grep')
-rw-r--r--textproc/grep/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/grep/Makefile b/textproc/grep/Makefile
index ac3d8ec1db2..3ccf1cf44ba 100644
--- a/textproc/grep/Makefile
+++ b/textproc/grep/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/10/14 16:43:14 bouyer Exp $
+# $NetBSD: Makefile,v 1.2 2002/12/06 15:29:20 cjep Exp $
# FreeBSD Id: Makefile,v 1.10 1999/01/27 07:41:16 fenner Exp $
DISTNAME= grep-2.5
@@ -16,6 +16,12 @@ TEXINFO_REQD= 4.0
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --program-prefix=g
+.include "../../mk/bsd.prefs.mk"
+
+.if (${OPSYS} == SunOS)
+CONFIGURE_SCRIPT= ${SH} ./configure
+.endif
+
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"