$NetBSD: patch-bc,v 1.1.1.1 2004/01/20 13:33:14 xtraeme Exp $ --- config/Makefile.in.orig Tue Mar 13 11:24:39 2001 +++ config/Makefile.in @@ -257,7 +257,7 @@ mostlyclean distclean maintainer-clean install-data-hook: gdm.conf gnomerc Gnome Failsafe if test '!' -d $(confdir); then \ $(mkinstalldirs) $(confdir); \ - chmod 755 $(confdir); \ + ${CHMOD} 755 $(confdir); \ fi if test '!' -f $(confdir)/gdm.conf; then \ $(INSTALL_DATA) gdm.conf $(confdir)/gdm.conf; \ @@ -269,7 +269,7 @@ install-data-hook: gdm.conf gnomerc Gnom if test '!' -d $(sessdir); then \ $(mkinstalldirs) $(sessdir); \ - chmod 755 $(sessdir); \ + ${CHMOD} 755 $(sessdir); \ fi if test '!' -f $(sessdir)/Xsession; then \ $(INSTALL_SCRIPT) $(srcdir)/Xsession $(sessdir)/Xsession; \ @@ -283,7 +283,7 @@ install-data-hook: gdm.conf gnomerc Gnom if test '!' -d $(initdir); then \ $(mkinstalldirs) $(initdir); \ - chmod 755 $(initdir); \ + ${CHMOD} 755 $(initdir); \ fi if test '!' -f $(initdir)/Default; then \ $(INSTALL_SCRIPT) $(srcdir)/Default $(initdir)/Default; \ @@ -291,7 +291,7 @@ install-data-hook: gdm.conf gnomerc Gnom if test '!' -d $(predir); then \ $(mkinstalldirs) $(predir); \ - chmod 755 $(predir); \ + ${CHMOD} 755 $(predir); \ fi if test '!' -f $(predir)/Default; then \ $(INSTALL_SCRIPT) $(srcdir)/PreSession $(predir)/Default; \ @@ -299,7 +299,7 @@ install-data-hook: gdm.conf gnomerc Gnom if test '!' -d $(postdir); then \ $(mkinstalldirs) $(postdir); \ - chmod 755 $(postdir); \ + ${CHMOD} 755 $(postdir); \ fi if test '!' -f $(postdir)/Default; then \ $(INSTALL_SCRIPT) $(srcdir)/PostSession $(postdir)/Default; \ @@ -307,7 +307,7 @@ install-data-hook: gdm.conf gnomerc Gnom if test '!' -d $(gnomercdir); then \ $(mkinstalldirs) $(gnomercdir); \ - chmod 755 $(gnomercdir); \ + ${CHMOD} 755 $(gnomercdir); \ fi if test '!' -f $(gnomercdir)/gnomerc; then \ $(INSTALL_SCRIPT) gnomerc $(gnomercdir)/gnomerc; \ @@ -315,15 +315,15 @@ install-data-hook: gdm.conf gnomerc Gnom if test '!' -d $(authdir); then \ $(mkinstalldirs) $(authdir); \ - chown gdm.gdm $(authdir); \ - chmod 750 $(authdir); \ + ${CHOWN} ${GDMOWN}:${GDMGRP} $(authdir); \ + ${CHMOD} 750 $(authdir); \ fi system=`uname`; \ if test -f /usr/include/security/pam_appl.h; then \ if test '!' -d $(sysconfdir)/pam.d; then \ $(mkinstalldirs) $(sysconfdir)/pam.d; \ - chmod 755 $(sysconfdir)/pam.d; \ + ${CHMOD} 755 $(sysconfdir)/pam.d; \ fi; \ if test $$system = Linux && test '!' -f $(sysconfdir)/pam.d/gdm; then \ $(INSTALL_DATA) gdm $(sysconfdir)/pam.d/gdm; \