Source-Changes-HG archive

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

[src/trunk]: src/x11/bin/xdm Enable PAM support if USE_PAM is set



details:   https://anonhg.NetBSD.org/src/rev/81467ae9ff1a
branches:  trunk
changeset: 572498:81467ae9ff1a
user:      manu <manu%NetBSD.org@localhost>
date:      Wed Jan 05 20:19:52 2005 +0000

description:
Enable PAM support if USE_PAM is set

diffstat:

 x11/bin/xdm/Makefile.xdm |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 21b0fd77ae95 -r 81467ae9ff1a x11/bin/xdm/Makefile.xdm
--- a/x11/bin/xdm/Makefile.xdm  Wed Jan 05 12:18:18 2005 +0000
+++ b/x11/bin/xdm/Makefile.xdm  Wed Jan 05 20:19:52 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.xdm,v 1.7 2004/05/16 10:25:14 lukem Exp $
+#      $NetBSD: Makefile.xdm,v 1.8 2005/01/05 20:19:52 manu Exp $
 
 XDMVARDIR=     /var/db/xdm
 XDMDIR=                ${X11ETCDIR}/xdm
@@ -15,4 +15,9 @@
                -I${X11SRCDIR.xc}/programs/xdm \
                ${X11FLAGS.VERSION}
 
+.if (${USE_PAM} == YES)
+CPPFLAGS+=     -DUSE_PAM
+LDADD+=                -lpam
+.endif
+
 .PATH:         ${X11SRCDIR.xc}/programs/xdm



Home | Main Index | Thread Index | Old Index