aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2016-10-20 17:28:52 +0000
committerEd Maste <emaste@FreeBSD.org>2016-10-20 17:28:52 +0000
commitd1a690337764bdfddca774b0eb2bfbb15d5a568b (patch)
tree910366651b56e63503efeb93c9e3be820a67dc7c /gnu
parent68a18b821eec73a801ed3f585721c35189d79b4b (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile
index 2791b5698961..cfb69a841ac7 100644
--- a/gnu/lib/Makefile
+++ b/gnu/lib/Makefile
@@ -4,7 +4,6 @@
SUBDIR= csu
SUBDIR+= libgcc
-SUBDIR+= libregex
SUBDIR.${MK_DIALOG}+= libdialog
SUBDIR.${MK_GCC}+= libgcov libgomp
@@ -15,6 +14,11 @@ SUBDIR.${MK_TESTS}+= tests
SUBDIR+= libreadline
.endif
+.if ${MK_GNU_DIFF} != "no" || ${MK_GNU_GREP} != "no" || \
+ ${GNU_GREP_COMPAT} != "no" || ${MK_GDB} != "no"
+SUBDIR+= libregex
+.endif
+
# libsupc++ uses libstdc++ headers, although 'make includes' should
# have taken care of that already.
.if ${MK_GNUCXX} != "no"