summaryrefslogtreecommitdiffstats
path: root/usr.bin/login/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/login/Makefile')
-rw-r--r--usr.bin/login/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile
index a9a42bc..970e591 100644
--- a/usr.bin/login/Makefile
+++ b/usr.bin/login/Makefile
@@ -10,9 +10,8 @@ CFLAGS+=-Wall -DLOGIN_ACCESS -DLOGALL
DPADD= ${LIBUTIL} ${LIBCRYPT}
LDADD= -lutil -lcrypt
-.if defined(NOPAM)
-CFLAGS+= -DNO_PAM
-.else
+.if !defined(NOPAM)
+CFLAGS+= -DUSE_PAM
DPADD+= ${LIBPAM}
LDADD+= ${MINUSLPAM}
.endif
OpenPOWER on IntegriCloud