aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-09-05 20:10:59 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-09-05 20:10:59 +0000
commitf328d583a2124a0cb6b96ed97b40f25b540452df (patch)
treedaeeec3a70e25abbb362be816bcbe28a07febf84 /usr.bin/chpass
parenta950ae83933defc6cc6eaebc4060553ed72704b5 (diff)
downloadsrc-f328d583a2124a0cb6b96ed97b40f25b540452df.tar.gz
src-f328d583a2124a0cb6b96ed97b40f25b540452df.zip
Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently adds
COPTS towards the end of final CFLAGS so that it can be used to override Makefile and other defaults. Using it in Makefiles risks having options set using it clobbered when somebody uses it on the command line. Approved by: bde
Notes
Notes: svn path=/head/; revision=83112
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile
index 8b2db0b19407..393087328729 100644
--- a/usr.bin/chpass/Makefile
+++ b/usr.bin/chpass/Makefile
@@ -22,11 +22,11 @@ LINKS+= ${BINDIR}/chpass ${BINDIR}/ypchsh
MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
MLINKS+= chpass.1 ypchpass.1 chpass.1 ypchfn.1 chpass.1 ypchsh.1
-COPTS+= -DYP -I. -I${.CURDIR}/../../libexec/ypxfr \
+CFLAGS+=-DYP -I. -I${.CURDIR}/../../libexec/ypxfr \
-I${.CURDIR}/../../usr.sbin/rpc.yppasswdd -Dyp_error=warnx
#Some people need this, uncomment to activate
-#COPTS+= -DRESTRICT_FULLNAME_CHANGE
+#CFLAGS+=-DRESTRICT_FULLNAME_CHANGE
DPADD= ${LIBRPCSVC} ${LIBCRYPT} ${LIBMD}
LDADD+= -lrpcsvc -lcrypt -lmd