For PAM, add -lrpcsvc -lutil -lcrypt to LDADD, and also add in missing
DPADD line. Fixes build problem for evbsh5 which does static linking only.
This commit is contained in:
parent
4f4c9a7624
commit
b18483500c
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.xdm,v 1.9 2005/01/06 00:45:42 lukem Exp $
|
||||
# $NetBSD: Makefile.xdm,v 1.10 2005/05/08 17:47:13 he Exp $
|
||||
|
||||
XDMVARDIR= /var/db/xdm
|
||||
XDMDIR= ${X11ETCDIR}/xdm
|
||||
|
@ -17,7 +17,8 @@ CPPFLAGS+= -DBINDIR=\"${X11BINDIR}\" -DXDMDIR=\"${XDMDIR}\" \
|
|||
|
||||
.if (${USE_PAM} != "no")
|
||||
CPPFLAGS+= -DUSE_PAM
|
||||
LDADD+= -lpam
|
||||
LDADD+= -lpam -lrpcsvc -lutil -lcrypt
|
||||
DPADD+= ${LIBPAM} ${LIBRPCSVC} ${LIBUTIL} ${LIBCRYPT}
|
||||
.endif
|
||||
|
||||
.PATH: ${X11SRCDIR.xc}/programs/xdm
|
||||
|
|
Loading…
Reference in New Issue