Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/lib/libXdmGreet Fix MKPAM=no build.



details:   https://anonhg.NetBSD.org/src/rev/f14d4fd282cf
branches:  trunk
changeset: 789873:f14d4fd282cf
user:      dholland <dholland%NetBSD.org@localhost>
date:      Thu Sep 12 04:42:49 2013 +0000

description:
Fix MKPAM=no build.

diffstat:

 external/mit/xorg/lib/libXdmGreet/Makefile |  12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 11c949e7c061 -r f14d4fd282cf external/mit/xorg/lib/libXdmGreet/Makefile
--- a/external/mit/xorg/lib/libXdmGreet/Makefile        Wed Sep 11 23:15:47 2013 +0000
+++ b/external/mit/xorg/lib/libXdmGreet/Makefile        Thu Sep 12 04:42:49 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2013/06/06 09:13:41 mrg Exp $
+#      $NetBSD: Makefile,v 1.4 2013/09/12 04:42:49 dholland Exp $
 
 .include <bsd.own.mk>
 
@@ -23,8 +23,14 @@
        Xinerama        ${.CURDIR}/../libXinerama \
        Xft     ${.CURDIR}/../libXft \
        Xpm     ${.CURDIR}/../libXpm \
-       X11     ${.CURDIR}/../libX11/dynamic \
-       pam     ${.CURDIR}/../../../../../lib/libpam/libpam \
+       X11     ${.CURDIR}/../libX11/dynamic
+
+.if ${USE_PAM} != "no"
+LIBDPLIBS+=\
+       pam     ${.CURDIR}/../../../../../lib/libpam/libpam
+.endif
+
+LIBDPLIBS+=\
        crypt   ${.CURDIR}/../../../../../lib/libcrypt \
        util    ${.CURDIR}/../../../../../lib/libutil
 



Home | Main Index | Thread Index | Old Index