diff options
author | minskim <minskim> | 2005-09-17 19:09:53 +0000 |
---|---|---|
committer | minskim <minskim> | 2005-09-17 19:09:53 +0000 |
commit | b9feeb758a2f7181a2e7a38b76748d34ecf821cd (patch) | |
tree | b20b286ac5b16a2f6dfb0a3df034600db6b4d63a /x11 | |
parent | 55d04b25249839131dfc2f637ad957ec42ab3404 (diff) | |
download | pkgsrc-b9feeb758a2f7181a2e7a38b76748d34ecf821cd.tar.gz |
Exclude bin/gdm-dmx-reconnect-proxy from PLIST if dmxext.h is unavailable.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gdm/Makefile | 8 | ||||
-rw-r--r-- | x11/gdm/PLIST | 4 |
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 |