summaryrefslogtreecommitdiff
path: root/x11/gdm
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-08-16 12:47:03 +0000
committerobache <obache@pkgsrc.org>2007-08-16 12:47:03 +0000
commit3d30c37c7cd9a2ceb08a07a6a3d0ab6af41614cd (patch)
tree01d592cb15181bc90a8bd72d9131fa0a58eb738a /x11/gdm
parentbc58af0a222c1d54977fc315611ea584a0914339 (diff)
downloadpkgsrc-3d30c37c7cd9a2ceb08a07a6a3d0ab6af41614cd.tar.gz
If header file "linux/vt.h" exists, 'gdmopen' is also installed.
Should fix PR 36792. Bump PKGREVISION.
Diffstat (limited to 'x11/gdm')
-rw-r--r--x11/gdm/Makefile10
-rw-r--r--x11/gdm/PLIST3
2 files changed, 11 insertions, 2 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 8e701282ec7..afe6aeb577c 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.128 2007/08/09 19:39:16 drochner Exp $
+# $NetBSD: Makefile,v 1.129 2007/08/16 12:47:03 obache Exp $
#
DISTNAME= gdm-2.18.4
+PKGREVISION= 1
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gdm/2.18/}
EXTRACT_SUFX= .tar.bz2
@@ -135,6 +136,13 @@ PLIST_SUBST+= DMX="@comment "
.endif
PRINT_PLIST_AWK+= /dmx/ { print "$${DMX}" $$0; next }
+.if exists(/usr/include/linux/vt.h)
+PLIST_SUBST+= GDMOPEN=""
+.else
+PLIST_SUBST+= GDMOPEN="@comment "
+.endif
+PRINT_PLIST_AWK+= /gdmopen/ { print "$${GDMOPEN}" $$0; next }
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libglade2/buildlink3.mk"
diff --git a/x11/gdm/PLIST b/x11/gdm/PLIST
index c11ba439d59..9e4533e9cd9 100644
--- a/x11/gdm/PLIST
+++ b/x11/gdm/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.33 2007/07/20 12:11:21 drochner Exp $
+@comment $NetBSD: PLIST,v 1.34 2007/08/16 12:47:03 obache Exp $
${DMX}bin/gdm-dmx-reconnect-proxy
bin/gdmXnest
bin/gdmXnestchooser
@@ -12,6 +12,7 @@ ${PAM_MISC}libexec/gdmaskpass
libexec/gdmchooser
libexec/gdmgreeter
libexec/gdmlogin
+${GDMOPEN}libexec/gdmopen
libexec/gdmtranslate
man/man1/gdm.1
sbin/gdm