Module Name:    src
Committed By:   dholland
Date:           Thu Sep 12 04:42:49 UTC 2013

Modified Files:
        src/external/mit/xorg/lib/libXdmGreet: Makefile

Log Message:
Fix MKPAM=no build.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/lib/libXdmGreet/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libXdmGreet/Makefile
diff -u src/external/mit/xorg/lib/libXdmGreet/Makefile:1.3 src/external/mit/xorg/lib/libXdmGreet/Makefile:1.4
--- src/external/mit/xorg/lib/libXdmGreet/Makefile:1.3	Thu Jun  6 09:13:41 2013
+++ src/external/mit/xorg/lib/libXdmGreet/Makefile	Thu Sep 12 04:42:49 2013
@@ -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 @@ LIBDPLIBS=\
 	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
 

Reply via email to