openbsd-ports/lang/egcs-snapshot/patches/patch-g77-name-transform

34 lines
1.4 KiB
Plaintext
Raw Normal View History

1999-02-28 13:17:06 -05:00
--- gcc/f/Make-lang.in.orig Mon Feb 22 09:49:36 1999
+++ gcc/f/Make-lang.in Sun Feb 28 18:04:52 1999
@@ -251,7 +251,7 @@
esac
if [ -f lang-f77 ]; then \
rm -f $(srcdir)/f/g77.info-*; \
- $(MAKEINFO) -I$(srcdir)/f -o f/g77.info $(srcdir)/f/g77.texi; \
+ $(MAKEINFO) -I$(srcdir)/f -o f/${G77_INSTALL_NAME}.info $(srcdir)/f/g77.texi && touch $@; \
else true; fi
f/g77.dvi: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
1999-02-28 13:17:06 -05:00
@@ -365,16 +365,17 @@
esac
1999-02-28 13:17:06 -05:00
if [ -f $(prefix)/lang-f77 -a -f f/g77.info ] ; then \
rm -f $(infodir)/g77.info*; \
- for f in f/g77.info*; do \
1999-02-28 13:17:06 -05:00
+ rm -f $(infodir)/$(G77_INSTALL_NAME).info*; \
+ for f in f/$(G77_INSTALL_NAME).info*; do \
realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
$(INSTALL_DATA) $$f $(infodir)/$$realfile; \
done; \
- chmod a-x $(infodir)/g77.info*; \
1999-02-28 13:17:06 -05:00
+ chmod a-x $(infodir)/$(G77_INSTALL_NAME).info*; \
else true; fi
1999-02-28 13:17:06 -05:00
@if [ -f $(prefix)/lang-f77 -a -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=$(infodir) $(infodir)/g77.info"; \
- install-info --info-dir=$(infodir) $(infodir)/g77.info || : ; \
1999-02-28 13:17:06 -05:00
+ echo " install-info --info-dir=$(infodir) $(infodir)/$(G77_INSTALL_NAME).info"; \
+ install-info --info-dir=$(infodir) $(infodir)/$(G77_INSTALL_NAME).info || : ; \
else : ; fi; \
else : ; fi
1999-02-28 13:17:06 -05:00
rm -f $(prefix)/lang-f77