summaryrefslogtreecommitdiff
path: root/lang/gcc3-f77/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc3-f77/patches/patch-ac')
-rw-r--r--lang/gcc3-f77/patches/patch-ac30
1 files changed, 30 insertions, 0 deletions
diff --git a/lang/gcc3-f77/patches/patch-ac b/lang/gcc3-f77/patches/patch-ac
new file mode 100644
index 00000000000..5e603afdf17
--- /dev/null
+++ b/lang/gcc3-f77/patches/patch-ac
@@ -0,0 +1,30 @@
+$NetBSD: patch-ac,v 1.1 2003/07/06 12:15:11 drochner Exp $
+
+--- gcc/f/Make-lang.in.orig Sat May 24 12:59:15 2003
++++ gcc/f/Make-lang.in Sat May 24 13:00:08 2003
+@@ -277,9 +277,9 @@
+ chmod a-x $(DESTDIR)$(infodir)/g77.info*; \
+ else true; fi
+ @if [ -f $(srcdir)/f/g77.info ] ; then \
+- if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+- echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/g77.info"; \
+- install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/g77.info || : ; \
++ if $(SHELL) -c '${INSTALL_INFO} --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
++ echo " ${INSTALL_INFO} --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/g77.info"; \
++ ${INSTALL_INFO} --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/g77.info || : ; \
+ else : ; fi; \
+ else : ; fi
+
+@@ -297,9 +297,9 @@
+ else true; fi
+
+ f77.uninstall: installdirs
+- if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+- echo " install-info --delete --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/g77.info"; \
+- install-info --delete --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/g77.info || : ; \
++ if $(SHELL) -c '${INSTALL_INFO} --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
++ echo " ${INSTALL_INFO} --delete --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/g77.info"; \
++ ${INSTALL_INFO} --delete --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/g77.info || : ; \
+ else : ; fi
+ rm -rf $(DESTDIR)$(bindir)/$(G77_INSTALL_NAME)$(exeext); \
+ rm -rf $(DESTDIR)$(bindir)/$(G77_CROSS_NAME)$(exeext); \