diff options
author | salo <salo@pkgsrc.org> | 2005-09-08 21:57:56 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2005-09-08 21:57:56 +0000 |
commit | 96779f9d0919d5e9001a5ed0dc0dee65516e8e2d (patch) | |
tree | 487ecb2702d9704b2011835873783b3f609bcf61 /security/PAM | |
parent | 52b1fae21a3c3088faf1fc1da38de17606bc24d9 (diff) | |
download | pkgsrc-96779f9d0919d5e9001a5ed0dc0dee65516e8e2d.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/Makefile | 5 |
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) |