pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/PAM Define USE_GETLOGIN for preprocessor inst...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/32b8e1cc5d6f
branches:  trunk
changeset: 499087:32b8e1cc5d6f
user:      salo <salo%pkgsrc.org@localhost>
date:      Thu Sep 08 21:57:56 2005 +0000

description:
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:

 security/PAM/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 66dab44dc595 -r 32b8e1cc5d6f security/PAM/Makefile
--- a/security/PAM/Makefile     Thu Sep 08 21:32:35 2005 +0000
+++ b/security/PAM/Makefile     Thu Sep 08 21:57:56 2005 +0000
@@ -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 @@
 .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)



Home | Main Index | Thread Index | Old Index