aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/perl/Makefile6
-rw-r--r--gnu/usr.bin/perl/suidperl/Makefile4
2 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/perl/Makefile b/gnu/usr.bin/perl/Makefile
index 7c11782dac69..3cce3ab02e1b 100644
--- a/gnu/usr.bin/perl/Makefile
+++ b/gnu/usr.bin/perl/Makefile
@@ -1,10 +1,6 @@
# $FreeBSD$
-.if defined(BUILD_SUIDPERL) && ${BUILD_SUIDPERL} == "true"
-_suidperl= suidperl
-.endif
-
-SUBDIR= libperl miniperl perl ${_suidperl} library pod utils x2p
+SUBDIR= libperl miniperl perl suidperl library pod utils x2p
MAINTAINER=markm@freebsd.org
diff --git a/gnu/usr.bin/perl/suidperl/Makefile b/gnu/usr.bin/perl/suidperl/Makefile
index 6b5f8ac09351..83370280019e 100644
--- a/gnu/usr.bin/perl/suidperl/Makefile
+++ b/gnu/usr.bin/perl/suidperl/Makefile
@@ -13,7 +13,11 @@ LDADD= ${DYNALOADER} -lperl -lm -lcrypt -lmd
LINKS= ${BINDIR}/${PROG} ${BINDIR}/sperl5 \
${BINDIR}/${PROG} ${BINDIR}/sperl${VERSION}
BINOWN= root
+.if defined(ENABLE_SUIDPERL) && ${ENABLE_SUIDPERL} == "true"
BINMODE=4511
+.else
+BINMODE=511
+.endif
CLEANFILES= Config.pm perlmain.c \
autosplit ext.libs