summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/PAM/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/security/PAM/Makefile b/security/PAM/Makefile
index 1ccfbb0de98..f04a0b55253 100644
--- a/security/PAM/Makefile
+++ b/security/PAM/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2005/05/31 10:01:39 dillo Exp $
+# $NetBSD: Makefile,v 1.34.2.1 2005/09/10 07:47:20 snj Exp $
#
DISTNAME= Linux-PAM-0.77
@@ -58,9 +58,8 @@ PLIST_SUBST+= USE_LIBCRACK="@comment "
.endif
.if !empty(OPSYS:M*BSD)
-CFLAGS+= -DUSE_GETLOGIN=1
+CPPFLAGS+= -DUSE_GETLOGIN=1
.endif
-MAKE_FLAGS+= OS_CFLAGS="${CFLAGS}"
# pam_userdb uses ndbm if it finds it, otherwise it will use Berkeley DB.
.if !exists(/usr/include/ndbm.h)