summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/perl/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/Makefile b/gnu/usr.bin/perl/Makefile
index 385033a..65c849d 100644
--- a/gnu/usr.bin/perl/Makefile
+++ b/gnu/usr.bin/perl/Makefile
@@ -4,7 +4,11 @@
# Note: I'm not sure what to do with c2ph located in misc...
#
-SUBDIR= perl tperl sperl usub lib x2p
+SUBDIR= perl tperl usub lib x2p
+
+.if !defined(NOSUIDPERL) && exists(${.CURDIR}/sperl)
+SUBDIR+=sperl
+.endif
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud