summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2005-03-02 11:53:22 +0000
committertrhodes <trhodes@FreeBSD.org>2005-03-02 11:53:22 +0000
commit792676bbc2c9c56a3676ca814cde9deb96a83da8 (patch)
treea8ef58078677e0c51a13aeead6bffc5d16d6fc2c /usr.bin
parent271a50396925d26b7554c390da5882b7ad4c3399 (diff)
downloadFreeBSD-src-792676bbc2c9c56a3676ca814cde9deb96a83da8.zip
FreeBSD-src-792676bbc2c9c56a3676ca814cde9deb96a83da8.tar.gz
Wrap BSD r* commands in NO_RCMDS.
Change NO_RCMDNS to NO_RCMDS and do the switch in bsd.compat.mk. Discussed with: ru, nectar
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index fbe4e45..824260e 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -147,11 +147,11 @@ SUBDIR= alias \
quota \
renice \
rev \
- rlogin \
+ ${_rlogin} \
rpcgen \
rpcinfo \
rs \
- rsh \
+ ${_rsh} \
rup \
ruptime \
rusers \
@@ -261,6 +261,11 @@ _ypmatch= ypmatch
_ypwhich= ypwhich
.endif
+.if !defined(NO_RCMDS)
+_rlogin= rlogin
+_rsh= rsh
+.endif
+
.if !defined(NO_SENDMAIL)
_vacation= vacation
.endif
OpenPOWER on IntegriCloud