aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1997-10-05 09:40:24 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1997-10-05 09:40:24 +0000
commit97fe7f477fc469b6a75596f47dc98a08e4ed3e13 (patch)
tree55baa49e3efb3c9fd481116b6e7a5d7232c58445 /usr.sbin
parentc63ba9f5ae735a804cb29cef14222f9fb1958922 (diff)
Notes
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/amd/fsinfo/Makefile5
-rw-r--r--usr.sbin/sendmail/src/Makefile4
-rw-r--r--usr.sbin/vipw/pw_util.c6
3 files changed, 8 insertions, 7 deletions
diff --git a/usr.sbin/amd/fsinfo/Makefile b/usr.sbin/amd/fsinfo/Makefile
index f0e4f39304a4..c55a2a9587c0 100644
--- a/usr.sbin/amd/fsinfo/Makefile
+++ b/usr.sbin/amd/fsinfo/Makefile
@@ -1,9 +1,9 @@
# @(#)Makefile 8.1 (Berkeley) 6/28/93
-# $Id$
+# $Id: Makefile,v 1.5 1997/02/22 16:03:14 peter Exp $
PROG= fsinfo
MAN8= fsinfo.8
-SRCS= fsinfo.c fsi_gram.c fsi_lex.c \
+SRCS= fsinfo.c fsi_gram.c fsi_gram.h fsi_lex.c \
fsi_util.c fsi_analyze.c fsi_dict.c \
wr_atab.c wr_bparam.c wr_dumpset.c \
wr_exportfs.c wr_fstab.c
@@ -16,6 +16,7 @@ CFLAGS+=-I${.CURDIR}/../config
CFLAGS+=-DOS_HDR=\"os-bsd44.h\"
fsi_lex.o fsinfo.o: fsi_gram.h
+.ORDER: fsi_gram.c fsi_gram.h
fsi_gram.c fsi_gram.h: ../fsinfo/fsi_gram.y
@echo "# expect 2 shift/reduce conflicts"
${YACC} -d ${.CURDIR}/fsi_gram.y
diff --git a/usr.sbin/sendmail/src/Makefile b/usr.sbin/sendmail/src/Makefile
index fa51a768bb96..ed8dbc6ed197 100644
--- a/usr.sbin/sendmail/src/Makefile
+++ b/usr.sbin/sendmail/src/Makefile
@@ -22,8 +22,8 @@ DBMDEF= -DNEWDB
NIS= -DNIS
# If you want tcp wrapper support, uncomment the following two lines
-#TCPWRAPPERSBASEDIR= /usr/local
-#TCPWRAPPERS= -DTCPWRAPPERS -I${TCPWRAPPERSBASEDIR}/include
+TCPWRAPPERSBASEDIR= /usr/local
+TCPWRAPPERS= -DTCPWRAPPERS -I${TCPWRAPPERSBASEDIR}/include
CFLAGS+=-I${.CURDIR} ${DBMDEF} ${NIS} ${TCPWRAPPERS} #-DNETISO
diff --git a/usr.sbin/vipw/pw_util.c b/usr.sbin/vipw/pw_util.c
index 21e0ca5c7e05..5902c077870b 100644
--- a/usr.sbin/vipw/pw_util.c
+++ b/usr.sbin/vipw/pw_util.c
@@ -32,7 +32,7 @@
*/
#ifndef lint
-static char sccsid[] = "@(#)pw_util.c 8.3 (Berkeley) 4/2/94";
+static const char sccsid[] = "@(#)pw_util.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
/*
@@ -126,7 +126,7 @@ pw_tmp()
int fd;
char *p;
- if (p = strrchr(path, '/'))
+ if ((p = strrchr(path, '/')))
++p;
else
p = path;
@@ -172,7 +172,7 @@ pw_edit(notsetuid)
if (!(editor = getenv("EDITOR")))
editor = _PATH_VI;
- if (p = strrchr(editor, '/'))
+ if ((p = strrchr(editor, '/')))
++p;
else
p = editor;