summaryrefslogtreecommitdiff
path: root/x11/gdm
diff options
context:
space:
mode:
authorobache <obache>2007-08-16 12:47:03 +0000
committerobache <obache>2007-08-16 12:47:03 +0000
commit025579bf16edd0e1b23b0d58e9db99440d6c10bd (patch)
tree01d592cb15181bc90a8bd72d9131fa0a58eb738a /x11/gdm
parent52bf486a6ad5ec3c868dc92f83f49b2a85005579 (diff)
downloadpkgsrc-025579bf16edd0e1b23b0d58e9db99440d6c10bd.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