diff options
author | minskim <minskim@pkgsrc.org> | 2005-09-17 19:09:53 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-09-17 19:09:53 +0000 |
commit | 47d0bdc2ecfa8c5e916c46098c4c04f2b67a2b48 (patch) | |
tree | b20b286ac5b16a2f6dfb0a3df034600db6b4d63a /x11/gdm | |
parent | 75f90b07a856115e76be34a74166a1fef9b4c41a (diff) | |
download | pkgsrc-47d0bdc2ecfa8c5e916c46098c4c04f2b67a2b48.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/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 |