From 07f5036daae4df5aabbc6798daf831e181a94b95 Mon Sep 17 00:00:00 2001 From: Dima Dorfman Date: Wed, 5 Sep 2001 20:10:59 +0000 Subject: 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 --- chpass/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chpass/Makefile') diff --git a/chpass/Makefile b/chpass/Makefile index 8b2db0b..3930873 100644 --- a/chpass/Makefile +++ b/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 -- cgit v1.2.3-56-ge451