pkgsrc/devel/ftnchek/patches/patch-ab
jtb 86a607e64e Update to version 3.2.2.
Here are the new features in version 3.2:

   1.  New option -mkhtml to generate HTML documentation files from
       the source code.  Thanks go to Mark McVeigh for contributing
       this feature.

   2.  I/O unit usage information is now provided under the -symtab
       option.  A table is printed listing each I/O unit by name
       and/or number, together with the opera- tions performed on it.

   3.  A single large project file, created by concatenating a number
       of separately produced project files, can be input for use as a
       library project file.

   4.  Combined type declarations and data-statement-like
       initializers, as in INTEGER N / 100 / are accepted.

   5.  Fixed a bug that caused ftnchek to crash if a parameter is
       declared with the same name as the subprogram containing it.
       New error message for same.

   6.  Fixed a bug in checking type agreement between variables and
       their initial values in Fortran 90-style declarations with
       initializers, as in INTEGER :: N=100.

   7.  New error message when an internal file is a constant rather
       than a variable.  Some compilers permit this for READ
       operations, but it is prohibited by the F90 Standard.
2003-06-29 22:24:32 +00:00

68 lines
2.5 KiB
Text

$NetBSD: patch-ab,v 1.4 2003/06/29 22:24:33 jtb Exp $
--- Makefile.in.orig
+++ Makefile.in
@@ -461,31 +461,17 @@
install: install-exe @INSTALL_MAN@ install-lisp
install-exe: ftnchek$(EXE) dcl2inc$(CMD)
- -$(RM) $(bindir)/ftnchek$(EXE)
- -$(MKDIR) -p $(bindir)
- $(CP) ftnchek$(EXE) $(bindir)
- -$(STRIP) $(bindir)/ftnchek$(EXE)
- $(CHMOD) 755 $(bindir)/ftnchek$(EXE)
- -$(MKDIR) -p $(libdir)
- $(CP) dcl2inc.awk $(libdir)/dcl2inc.awk
- $(CHMOD) 644 $(libdir)/dcl2inc.awk
- $(CP) dcl2inc$(CMD) $(bindir)/dcl2inc$(CMD)
- $(CHMOD) 755 $(bindir)/dcl2inc$(CMD)
- -$(RM) $(bindir)/fcl2vcg
+ $(BSD_INSTALL_PROGRAM) ftnchek$(EXE) $(bindir)
+ $(BSD_INSTALL_DATA_DIR) $(libdir)
+ $(BSD_INSTALL_DATA) dcl2inc.awk $(libdir)
+ $(BSD_INSTALL_SCRIPT) dcl2inc$(CMD) $(bindir)
# Install man pages, taking care to remove old formatted ones, because
# many man implentations fail to compare time stamps of raw and
# formatted files, and will show out-of-date formatted files.
install-man: ftnchek$(manext)
- -$(MKDIR) -p $(mandir)/man1
- $(CP) dcl2inc.man $(mandir)/man1/dcl2inc$(manext)
- -$(RM) $(mandir)/cat1/dcl2inc$(manext)
- $(CHMOD) 644 $(mandir)/man1/dcl2inc$(manext)
- $(CP) ftnchek$(manext) $(mandir)/man1/ftnchek$(manext)
- -$(RM) $(mandir)/cat1/ftnchek$(manext)
- $(CHMOD) 644 $(mandir)/man1/ftnchek$(manext)
- -$(RM) $(mandir)/man1/fcl2vcg$(manext)
- -$(RM) $(mandir)/cat1/fcl2vcg$(manext)
+ $(BSD_INSTALL_MAN) dcl2inc.man $(mandir)/man1/dcl2inc$(manext)
+ $(BSD_INSTALL_MAN) ftnchek$(manext) $(mandir)/man1/ftnchek$(manext)
# IRIX uses pre-formatted, packed man pages and nroff is not bundled with it.
install-man-sgi: catman
@@ -528,23 +514,8 @@
# The emacs lisp file will be installed only if lispdir exists. It will
# be byte-compiled if emacs is present.
install-lisp:
- @if test -d "$(lispdir)" ; \
- then \
- echo $(CP) ftnchek.el $(lispdir)/ftnchek.el ; \
- if $(CP) ftnchek.el $(lispdir)/ftnchek.el ; \
- then \
- if test -x "$(EMACS)" ; \
- then \
- $(EMACS) -batch -f batch-byte-compile $(lispdir)/ftnchek.el ; \
- else \
- echo "If desired, use emacs to byte-compile $(lispdir)/ftnchek.el"; \
- fi \
- fi \
- else \
- echo "$(lispdir) does not exist -- ftnchek.el not installed." ; \
- echo "If you want to install ftnchek.el, create $(lispdir)" ; \
- echo "or re-run make install with 'lispdir=path-to-site-lisp'" ; \
- fi
+ $(BSD_INSTALL_DATA_DIR) $(lispdir)
+ $(BSD_INSTALL_DATA) ftnchek.el $(lispdir)
# Remove everything that the install target installed.
uninstall: