pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/gdm If header file "linux/vt.h" exists, 'gdmopen' ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/09a46b6e6498
branches:  trunk
changeset: 532348:09a46b6e6498
user:      obache <obache%pkgsrc.org@localhost>
date:      Thu Aug 16 12:47:03 2007 +0000

description:
If header file "linux/vt.h" exists, 'gdmopen' is also installed.
Should fix PR 36792.

Bump PKGREVISION.

diffstat:

 x11/gdm/Makefile |  10 +++++++++-
 x11/gdm/PLIST    |   3 ++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 8b46d599635d -r 09a46b6e6498 x11/gdm/Makefile
--- a/x11/gdm/Makefile  Thu Aug 16 09:52:31 2007 +0000
+++ b/x11/gdm/Makefile  Thu Aug 16 12:47:03 2007 +0000
@@ -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 @@
 .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 -r 8b46d599635d -r 09a46b6e6498 x11/gdm/PLIST
--- a/x11/gdm/PLIST     Thu Aug 16 09:52:31 2007 +0000
+++ b/x11/gdm/PLIST     Thu Aug 16 12:47:03 2007 +0000
@@ -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 @@
 libexec/gdmchooser
 libexec/gdmgreeter
 libexec/gdmlogin
+${GDMOPEN}libexec/gdmopen
 libexec/gdmtranslate
 man/man1/gdm.1
 sbin/gdm



Home | Main Index | Thread Index | Old Index