summaryrefslogtreecommitdiff
path: root/textproc/grep
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2014-07-15 14:28:07 +0000
committerryoon <ryoon@pkgsrc.org>2014-07-15 14:28:07 +0000
commite6edbb32edb2c97ea879ccaefffe0cffd1ad6e88 (patch)
tree8bb8ba51a48ddf65b9393f8f3a90beebf919e9a5 /textproc/grep
parent98ecb98691a44a8fe7e3b8c0578ff53e487806cc (diff)
downloadpkgsrc-e6edbb32edb2c97ea879ccaefffe0cffd1ad6e88.tar.gz
Fix broken binary under SCO OpenServer 5.0.7/3.2.
Diffstat (limited to 'textproc/grep')
-rw-r--r--textproc/grep/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/textproc/grep/Makefile b/textproc/grep/Makefile
index c54ee22059a..bd351a1f80b 100644
--- a/textproc/grep/Makefile
+++ b/textproc/grep/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.40 2014/05/29 23:37:34 wiz Exp $
+# $NetBSD: Makefile,v 1.41 2014/07/15 14:28:07 ryoon Exp $
DISTNAME= grep-2.19
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU:=grep/}
EXTRACT_SUFX= .tar.xz
@@ -24,6 +24,11 @@ INSTALLATION_DIRS= ${PKGGNUDIR}bin ${PKGGNUDIR}${PKGMANDIR}/man1
.include "../../mk/bsd.prefs.mk"
+.if ${OS_VARIANT} == "SCOOSR5"
+# SCO OpenServer 5.0.7/3.2's pthread is builtin GNU pth.
+CONFIGURE_ARGS+= --enable-threads=pth
+.endif
+
post-install:
.for g n in bin/ggrep ${PKGGNUDIR}bin/grep bin/gegrep ${PKGGNUDIR}bin/egrep \
bin/gfgrep ${PKGGNUDIR}bin/fgrep \