From a95064d0f63ed1375923368ab060fdaaa9969afd Mon Sep 17 00:00:00 2001 From: he Date: Sun, 8 May 2005 19:21:01 +0000 Subject: [PATCH] For PAM, add the rpcsvc, util, and crypt libraries. Fixes build problem for ports doing static linking, such as evbsh5. --- x11/Xserver/Xserver/Makefile.Xserver | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x11/Xserver/Xserver/Makefile.Xserver b/x11/Xserver/Xserver/Makefile.Xserver index 1de055fd99c4..4d165e5ff43c 100644 --- a/x11/Xserver/Xserver/Makefile.Xserver +++ b/x11/Xserver/Xserver/Makefile.Xserver @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.Xserver,v 1.19 2005/03/21 00:49:17 rtr Exp $ +# $NetBSD: Makefile.Xserver,v 1.20 2005/05/08 19:21:01 he 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 \ @@ -25,8 +25,8 @@ 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} +LDADD.os +=-lpam -lrpcsvc -lutil -lcrypt +DPADD.os +=${LIBPAM} ${LIBRPCSVC} ${LIBUTIL} ${LIBCRYPT} .endif LIBCWRAPPER= ${LIBDIR.os}/libc_wrapper.o