summaryrefslogtreecommitdiff
path: root/usr.bin/grep/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/grep/Makefile')
-rw-r--r--usr.bin/grep/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/grep/Makefile b/usr.bin/grep/Makefile
index 4ff56e342c6a..be3f095c1ad8 100644
--- a/usr.bin/grep/Makefile
+++ b/usr.bin/grep/Makefile
@@ -60,7 +60,9 @@ MLINKS+= grep.1 egrep.1 \
grep.1 rgrep.1
.endif
+.if !defined(BOOTSTRAPPING)
LIBADD+= regex
+.endif
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests