summaryrefslogtreecommitdiff
path: root/security/PAM
diff options
context:
space:
mode:
authorsalo <salo>2005-09-08 21:57:56 +0000
committersalo <salo>2005-09-08 21:57:56 +0000
commitd4a5e48ec6f6c088c2c215c7f551e997cd7cdb1c (patch)
tree487ecb2702d9704b2011835873783b3f609bcf61 /security/PAM
parent28e15f440c28c61bcf56eb8a1f999d790ff86a8e (diff)
downloadpkgsrc-d4a5e48ec6f6c088c2c215c7f551e997cd7cdb1c.tar.gz
Define USE_GETLOGIN for preprocessor instead so it later just DTRT.
Should fix PR pkg/30965 (the same issue was uncovered while working on a pullup ticket #738)
Diffstat (limited to 'security/PAM')
-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..aae1ed7367a 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.35 2005/09/08 21:57:56 salo 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)