summaryrefslogtreecommitdiff
path: root/x11/gdm
diff options
context:
space:
mode:
authorminskim <minskim>2005-09-17 19:09:53 +0000
committerminskim <minskim>2005-09-17 19:09:53 +0000
commitbb5f1c156709a458900af5ade4b35681ba02060d (patch)
treeb20b286ac5b16a2f6dfb0a3df034600db6b4d63a /x11/gdm
parenta84765985e0475271240b4f5b5e4d0b5bf090fe9 (diff)
downloadpkgsrc-bb5f1c156709a458900af5ade4b35681ba02060d.tar.gz
Exclude bin/gdm-dmx-reconnect-proxy from PLIST if dmxext.h is unavailable.
Diffstat (limited to 'x11/gdm')
-rw-r--r--x11/gdm/Makefile8
-rw-r--r--x11/gdm/PLIST4
2 files changed, 9 insertions, 3 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
diff --git a/x11/gdm/PLIST b/x11/gdm/PLIST
index 55abacb2e0c..27ac70a69a0 100644
--- a/x11/gdm/PLIST
+++ b/x11/gdm/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.20 2005/07/20 02:44:48 schmonz Exp $
-bin/gdm-dmx-reconnect-proxy
+@comment $NetBSD: PLIST,v 1.21 2005/09/17 19:09:54 minskim Exp $
+${DMX}bin/gdm-dmx-reconnect-proxy
bin/gdmXnest
bin/gdmXnestchooser
bin/gdmdynamic