summaryrefslogtreecommitdiff
path: root/x11/gdm/Makefile
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-09-17 19:09:53 +0000
committerminskim <minskim@pkgsrc.org>2005-09-17 19:09:53 +0000
commit92bf3bc496b07c5d8840d7953dd2e6dcd1b10b3f (patch)
treeb20b286ac5b16a2f6dfb0a3df034600db6b4d63a /x11/gdm/Makefile
parent7d80eb2a95b248a0585ab81b61320416937e8b94 (diff)
downloadpkgsrc-92bf3bc496b07c5d8840d7953dd2e6dcd1b10b3f.tar.gz
Exclude bin/gdm-dmx-reconnect-proxy from PLIST if dmxext.h is unavailable.
Diffstat (limited to 'x11/gdm/Makefile')
-rw-r--r--x11/gdm/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 1d799b32045..9e29c1057d6 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.86 2005/08/21 11:30:55 jmmv Exp $
+# $NetBSD: Makefile,v 1.87 2005/09/17 19:09:53 minskim Exp $
#
DISTNAME= gdm-2.8.0.1
@@ -114,6 +114,12 @@ CONFIGURE_ARGS+= --enable-authentication-scheme=crypt
PLIST_SUBST+= PAM_MISC="@comment "
.endif
+.if exists(${X11BASE}/include/X11/extensions/dmxext.h)
+PLIST_SUBST+= DMX=""
+.else
+PLIST_SUBST+= DMX="@comment "
+.endif
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gdm
${INSTALL_DATA} ${DISTDIR}/Daemon.README ${PREFIX}/share/doc/gdm