aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2000-08-13 01:40:06 +0000
committerWarner Losh <imp@FreeBSD.org>2000-08-13 01:40:06 +0000
commit9a88e86cbed152877bc4e394bfa45a0748f40693 (patch)
treebb74df4dfced502a4b26f4eac07afc427d92befd /gnu/usr.bin
parent022daa34f2cdb146001da33281b68b83ed95c0ee (diff)
Notes
Diffstat (limited to 'gnu/usr.bin')
-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