If header file "linux/vt.h" exists, 'gdmopen' is also installed.

Should fix PR 36792.

Bump PKGREVISION.
This commit is contained in:
obache 2007-08-16 12:47:03 +00:00
parent bc58af0a22
commit 3d30c37c7c
2 changed files with 11 additions and 2 deletions

View file

@ -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"

View file

@ -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