diff options
author | dmcmahill <dmcmahill> | 2001-02-24 18:37:45 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2001-02-24 18:37:45 +0000 |
commit | 38bf3553861b8ecfe7bffc089c58f14db9060f20 (patch) | |
tree | fe86592e00009dfe07f81344e70411a41b15ae3a /lang/f2c/Makefile | |
parent | 893c4854825ce4f97e2ba57b28dbc065ba12baf4 (diff) | |
download | pkgsrc-38bf3553861b8ecfe7bffc089c58f14db9060f20.tar.gz |
update to f2c-20001205.
while here, add more options to the f2c-f77 script:
from Jason Beegan,
-r8, promote REAL and COMPLEX to DOUBLE REAL and DOUBLE COMPLEX
-s, to strip executible
generalize the -Wall flag to accept -Wxxx and pass it to the c compiler
-Wxxx for gcc warnings
complete change log from the f2c maintainers since the last packaged
version:
------------------------------------------
libf2c.zip: fix bug with the sequence backspace(n); endfile(n);
rewind(n); read(n). Supply missing (long) casts in a couple of places
where they matter when size(ftnint) == sizeof(int) < sizeof(long).
Tue Jan 18 19:22:24 EST 2000
Arrange for parameter statements involving min(...) and max(...)
functions of three or more arguments to work.
Warn about text after "end" (rather than reporting a syntax error
with a surprising line number).
Accept preprocessor line numbers of the form "# 1234" (possibly
with trailing blanks).
Accept a comma after write(...) and before a list of things to write.
Fri Jan 21 17:26:27 EST 2000
Minor updates to make compiling Win32 console binaries easier. A
side effect is that the MSDOS restriction of only one Fortran file
per invocation is lifted (and "f2c *.f") works.
Tue Feb 1 18:38:32 EST 2000
f2c/src/tokdefs.h added (to help people on non-Unix systems -- the
makefile has always had a rule for generating tokdefs.h).
Fri Mar 10 18:48:17 EST 2000
libf77, libf2c.zip: z_log.c: the real part of the double complex log
of numbers near, e.g., (+-1,eps) with |eps| small is now more accurate.
For example if z = (1,1d-7), then "write(*,*) z" now writes
"(5.E-15,1.E-07" rather than the previous "(4.88498131E-15,1.E-07)".
Thu Apr 20 13:02:54 EDT 2000
libf77, libi77, libf2c.zip: s_cat.c, rsne.c, xwsne.c: fix type
errors that only matter if sizeof(ftnint) != sizeof(ftnlen).
Tue May 30 23:36:18 EDT 2000
expr.c: adjust subcheck() to use a temporary variable of type TYLONG
rather than TYSHORT under -C -I2.
Wed May 31 08:48:03 EDT 2000
Simplify yesterday's adjustment; today's change should be invisible.
Tue Jul 4 22:52:21 EDT 2000
misc.c, function "addressable": fix fault with "f2c -I2 foo.f" when
foo.f consists of the 4 lines
subroutine foo(c)
character*(*) c
i = min(len(c),23)
end
Sundry files: tweaks for portability, e.g., for compilation by overly
fastidious C++ compilers; "false" and "true" now treated as C keywords
(so they get two underscores appended).
libf77, libi77, libf2c.zip: "invisible" adjustments to permit
compilation by C++ compilers; version numbers not changed.
Thu Jul 6 23:46:07 EDT 2000
Various files: tweaks to banish more compiler warnings.
lib?77, libf2c.zip/makefile.u: add "|| true" to ranlib invocations.
Thanks to Nelson H. F. Beebe for messages leading to these changes
(and to many of the ones two days ago).
xsum.c: tweak include order.
Fri Jul 7 18:01:25 EDT 2000
fc: accept -m xxx or -mxxx, pass them to the compiler as -mxxx
(suggestion of Nelson Beebe). Note that fc simply appends to CFLAGS,
so system-specific stuff can be supplied in the environment variable
CFLAGS. With some shells, invocations of the form
CFLAGS='system-specific stuff' fc ...
are one way to do this.
Thu Aug 17 21:38:36 EDT 2000
Fix obscure glitch: in "Error on line nnn of ...: Bad # line:...",
get nnn right.
Sat Sep 30 00:28:30 EDT 2000
libf77, libf2c.zip: dtime_.c, etime_.c: use floating-point divide;
dtime_.d, erf_.c, erfc_.c, etime.c: for use with "f2c -R", compile with
-DREAL=float.
Tue Dec 5 22:55:56 EST 2000
lread.c: under namelist input, when reading a logical array, treat
Tstuff= and Fstuff= as new assignments rather than as logical constants.
Diffstat (limited to 'lang/f2c/Makefile')
-rw-r--r-- | lang/f2c/Makefile | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/lang/f2c/Makefile b/lang/f2c/Makefile index 926eb2a3c6a..bfce63237aa 100644 --- a/lang/f2c/Makefile +++ b/lang/f2c/Makefile @@ -1,18 +1,31 @@ -# $NetBSD: Makefile,v 1.9 2001/02/17 09:07:05 agc Exp $ +# $NetBSD: Makefile,v 1.10 2001/02/24 18:37:45 dmcmahill Exp $ -DISTNAME= f2c-19991025 -PKGNAME= f2c-19991025p1 +DISTNAME= f2c-20001205 WRKSRC= ${WRKDIR}/f2c CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_LOCAL} +# Note. the distfile is kept locally because it is +# created "on the fly" by the real master site with +# no version number included. This makes it difficult +# at best to use the real master site. The distfile +# was created by: +# ftp ftp://netlib.bell-labs.com/netlib/f2c.tar +# tar -xvf f2c.tar f2c/00lastchange.gz +# gzcat f2c/00lastchange.gz +# +#read what the last change date was. +# +# mv f2c.tar f2c-yyyymmdd.tar +# gzip f2c-yyyymmdd.tar + MAINTAINER= dmcmahill@netbsd.org HOMEPAGE= http://www.netlib.org/f2c/index.html -COMMENT= Fortran to C compiler (translates fortran to C) +COMMENT= Fortran to C compiler including a script to emulate f77 CONFLICTS= egcs-current-19980608 -post-extract:: +post-extract: @${RM} ${WRKSRC}/index.html @${GUNZIP_CMD} ${WRKSRC}/*.gz @cd ${WRKSRC} ; ${SH} libf77 ; ${SH} libi77 @@ -20,9 +33,9 @@ post-extract:: @${MV} ${WRKSRC}/src/.depend ${WRKSRC}/src/depend.orig @${GUNZIP_CMD} ${WRKSRC}/src/*.gz -post-patch:: - @cd ${WRKSRC} ; ${CC} -o chktypes chktypes.c - ${WRKSRC}/chktypes +post-patch: + @cd ${WRKSRC} && ${CC} -o chktypes chktypes.c + ${WRKSRC}/chktypes -v @${CP} ${WRKSRC}/f2c.h ${WRKSRC}/libF77/f2c.h @${CP} ${WRKSRC}/f2c.h ${WRKSRC}/libI77/f2c.h |