aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile
index 694f38a86336..317ec9972259 100644
--- a/gnu/usr.bin/Makefile
+++ b/gnu/usr.bin/Makefile
@@ -13,7 +13,7 @@ SUBDIR+=as ld
.endif
.endif
-.if !defined(NOPERL) && exists(${.CURDIR}/perl)
+.if !defined(NOPERL) && !defined(NO_PERL) && exists(${.CURDIR}/perl)
SUBDIR+=perl
.endif