$NetBSD: patch-ac,v 1.5 2009/02/18 08:18:53 mrg Exp $ --- Makefile.in.orig 2008-03-14 17:13:15.000000000 +0000 +++ Makefile.in @@ -131,8 +131,8 @@ LN = @LN@ CP = cp MV = mv SED = sed -INSTALL = $(topdir)/bsdinstall -c -m 755 -INSTALL_DATA = $(topdir)/bsdinstall -c -m 644 +INSTALL = $(BSD_INSTALL_PROGRAM) +INSTALL_DATA = $(BSD_INSTALL_DATA) VERSION = @VERSION@ @@ -153,11 +153,9 @@ installbin: installirc installio install installirc: irc installdirs $(INSTALL) irc $(INSTALL_IRC)-$(VERSION) - $(INSTALL) ircbug $(bindir)/ircbug - @if test -f $(INSTALL_IRC).old; then $(RM) $(INSTALL_IRC).old; fi - @if test -f $(INSTALL_IRC); then $(MV) $(INSTALL_IRC) $(INSTALL_IRC).old; fi + $(BSD_INSTALL_SCRIPT) ircbug $(bindir)/ircbug $(RM) $(INSTALL_IRC) - $(LN) $(INSTALL_IRC_NAME)-$(VERSION) $(INSTALL_IRC) + cd ${bindir}; $(LN) irc-$(VERSION) irc installscript: installdirs ( \ @@ -208,8 +206,8 @@ installman: # $(INSTALL_DATA) $(topdir)/doc/query-pr.1 $(mandir) installdirs: - umask 022; $(topdir)/mkinstalldirs $(IRCLIB) $(bindir) $(mandir) \ + $(topdir)/mkinstalldirs $(IRCLIB) $(bindir) $(mandir) \ $(TRANS_PATH) $(INSTALL_SCRIPT) $(HELP_DIR) clena clean: cd $(objdir) && $(RM) $(PROGRAMS) $(OBJECTS) \