Source-Changes-HG archive

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

[src/trunk]: src/x11/Xserver/Xserver Add PAM hooks.



details:   https://anonhg.NetBSD.org/src/rev/e48d6661f589
branches:  trunk
changeset: 574230:e48d6661f589
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Feb 24 14:53:15 2005 +0000

description:
Add PAM hooks.
XXX: It would be nice if the specific Xservers did not trash
LDADD, so that we could use LDADD += instead of LDADD.os +=

diffstat:

 x11/Xserver/Xserver/Makefile.Xserver |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 0baf432f7b40 -r e48d6661f589 x11/Xserver/Xserver/Makefile.Xserver
--- a/x11/Xserver/Xserver/Makefile.Xserver      Thu Feb 24 14:47:38 2005 +0000
+++ b/x11/Xserver/Xserver/Makefile.Xserver      Thu Feb 24 14:53:15 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.Xserver,v 1.17 2004/08/01 18:52:03 uch Exp $
+#      $NetBSD: Makefile.Xserver,v 1.18 2005/02/24 14:53:15 christos Exp $
 
 .for _SL in    dix os mi printer printer/pcl printer/ps printer/raster \
                Xext/ext Xext/exts GL/glx GL/GLcore xkb xinput lbx dbe \
@@ -21,5 +21,9 @@
 LDADD.${_SL}=  ${LIBDIR.${_SL}}/lib${_SL:T}.a
 DPADD.${_SL}=  ${LIBDIR.${_SL}}/lib${_SL:T}.a
 .endfor
+.if (${USE_PAM} != "no")
+LDADD.os +=-lpam
+DPADD.os +=${LIBPAM}
+.endif
 
 LIBCWRAPPER=   ${LIBDIR.os}/libc_wrapper.o



Home | Main Index | Thread Index | Old Index