summaryrefslogtreecommitdiff
path: root/lang/f2c/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2010-07-31Fix integer type misuse caught by gcc 4.4. PR 43291 from Makoto Fujiwara;dholland1-2/+2
the patches in the PR used unsafe (but less wrong) integer/pointer casts, so I did things somewhat differently.
2010-01-03Pregenerate the parser (gram.c) and disable implicit regeneration.tnn1-3/+3
Drop yacc(1) dependency. This solves the circular dependency f2c->bison->libiconv->libtool-base->f2c
2009-12-28get rid of the catpage. Should close PR 42533.tnn1-5/+6
2009-12-20Bypass the default setting of CPP in OS X and explicitly use /usr/bin/cpp.jmmv1-3/+13
This makes f2c work. Bump PKGREVISION. The default CPP points to gcc, which broke f2c because gcc is unable to preprocess Fortran files as the Fortran compiler is not installed. Surprisingly, /usr/bin/cpp is just a wrapper around gcc, but it explicitly passes '-x c' to cpp to force the language to be C and bypass the .F extension.
2009-12-03Restore YACC dependency lost during previous update.asau1-1/+2
2009-12-03Split f2c into library (devel/libf2c) and translator packages.asau1-39/+18
Requested by <joerg>.
2009-12-01USE_TOOLS+=yacc - For building in semi bovine-free environments.dsainty1-2/+2
2009-11-22Update f2c to 2009-04-11 snapshot.asau1-30/+24
Changes are mostly bug fixes. Perform conservative update: recreate libF77 and libI77 providing binary compatibility. Prefer files to patches creating respective files. Override build system completely, we effectively did that anyway.
2009-10-31Don't enforce linking in MAIN__. Bump package revision.asau1-4/+12
No changes in libraries. No fallout expected, none found so far.
2009-01-05add handling for darwin gcc's -install_name, -compatiblity_version anddbj1-2/+2
-current_version flags. These are added by libtool and break going through f2c bump PKGREVISION
2008-04-30When calling 'cc -c' use a stripped down version of CFLAGS thatdmcmahill1-2/+2
removes all -Wl,* entries. Otherwise some versions of gcc will give a warning which in turn breaks the autoconf check for fortran libraries. This fixes at least cad/tnt-mmtl and probably any other package that uses the AC_F77_LIBRARY_LDFLAGS autoconf macro. Bump rev to f2c-20001205nb10.
2007-12-16# Many failures - this is *very* far from safe.gdt1-1/+4
MAKE_JOBS_SAFE= no
2007-09-25Back out previous. Pointed out by uebayasi@ and martti@.hira1-4/+4
2007-08-16Add DESTDIR support.joerg1-1/+5
2007-06-17Make this package build on case-insensitive filesystems by renamingminskim1-2/+4
conflicting files.
2007-02-05- The f2c-f77 script that emulates a fortran comiler has deviated so muchdmcmahill1-3/+4
from the original, that it has become easier to maintain it as its own file instead of a patch, so do that. - Improve the shell quoting quite a bit in the f2c-f77 script. Now you can pass things like -DFOO=this\ is\ a\ test and have the escapes actually work when the arguments get passed down to the underlying commands. Many thanks to Alan Barrett for help with the shell quoting. - bump pkgrev
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-7/+7
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-01In the post-extract target avoid trying to gunzip a particulardmcmahill1-2/+10
file which triggers a bug in some versions of zlib. This file was not used anyway.
2005-07-15Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by makingjlam1-3/+2
PKGSRC_USE_TOOLS go away. There is now only a single USE_TOOLS variable that specifies all of the tools we need to build/run the package.
2005-05-15Note where gzip or gunzip is required by the package since it isn'tjlam1-1/+3
required by default any longer in bsd.pkg.mk under the new tools framework.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-01-28update to f2c-20001205nb8dmcmahill1-2/+2
This addresses a temp file symlink race vulnerability. The f2c patch is adapted from the debian one. The f2c-f77 (wrapper script which emulates a fortran compiler) patch was done a bit differently.
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv1-2/+2
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam1-2/+1
All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-15- don't hard code the c compiler name.dmcmahill1-1/+3
- automatically figure out MAIN__ vs _MAIN__ - don't clobber the path when running f2c-f77. This lets you have a better chance of finding the c compiler! With all this this package now seems fully functional on solaris-2.9 as well as NetBSD.
2004-09-14libtool-ize this for building its shared libs instead of usingdmcmahill1-22/+4
bsd.lib.mk. Should address PR26628 where this package can't build on solaris. In addition, this cleans up some PLIST hacks.
2004-04-09Do not override LIBOWN and LIBGRP.minskim1-1/+2
2004-03-23USE_BUILDLINK3 must be set to "yes" or "no", not defined/undefined.jlam1-2/+2
2004-02-17bl3ify. rename post-patch target to do-configure, as the compiler isgrant1-3/+3
not available before the buildlink phase, and calling the compiler in the patch phase is Wrong.
2004-01-20Move WRKSRC definition away from the first paragraph in a Makefile.agc1-2/+2
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2002-08-27Use buildlink2.jlam1-2/+2
2002-08-25Merge changes in packages from the buildlink2 branch that havejlam1-1/+1
buildlink2.mk files back into the main trunk.
2002-07-02PKGSRCDIR -> PKGDIR. pkg/17457 by rafal.wiz1-2/+2
2002-06-17fix PLIST and build on mipsel machines where all code is PIC so we don'tdmcmahill1-1/+10
need to build a _pic lib. fixed PR pkg/16302 submitted by Daniel Senderowicz <daniel@mispibes.SynchroDS.COM>
2002-01-22fix the f2c-f77 handling of the '-m' flag. Needed in preparation fordmcmahill1-2/+2
adding -mieee to CFLAGS and FFLAGS for alpha. bump rev to f2c-20001205nb5
2001-11-29Get rid of manually adding "nbX" to PKGNAME when a pkg was changed inhubertf1-2/+2
pkgsrc. Instead, a new variable PKGREVISION is invented that can get bumped independent of DISTNAME and PKGNAME. Example #1: DISTNAME= foo-X.Y PKGREVISION= Z => PKGNAME= foo-X.YnbZ Example #2: DISTNAME= barthing-X.Y PKGNAME= bar-X.Y PKGREVISION= Z => PKGNAME= bar=X.YnbZ (!) On subsequent changes, only PKGREVISION needs to be bumped, no more risk of getting DISTNAME changed accidentally.
2001-07-18Mark as USE_BUILDLINK_ONLY.jlam1-1/+3
2001-04-22teach the f2c-f77 script about "-pg" (generate profiled code).dmcmahill1-2/+2
2001-04-18fix soname for libf2cdmcmahill1-2/+2
2001-04-09one more shared lib fix. corrects ELF symlinksdmcmahill1-5/+3
2001-04-09-fix the combined f2c library. problem noted by Jason Beegandmcmahill1-2/+14
- enable the -N option to the f2c-f77. Allows increasing some runtime table sizes in the f2c compiler.
2001-04-07build and install shared libs as well as the static ones. add nb1 to thedmcmahill1-3/+14
version.
2001-03-05Remove an empty line to make pkglint happy.wiz1-2/+1
2001-02-24update to f2c-20001205.dmcmahill1-8/+21
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.
2001-02-17Move the COMMENT from being in its own file to a definition in theagc1-1/+2
package Makefile.
2000-01-09replaced some more commands by their ${COMMAND} counterpartswiz1-9/+9
1999-12-22- fix a bug in the f2c-f77 script which caused -Ipath flags to not getdmcmahill1-2/+3
passed to f2c (only to the c compiler) - update my email
1999-12-16-Update to f2c-19991025. This newer version contains several bug fixesdmcmahill1-2/+2
including (from f2c/changes) = permit long names in #line lines = minor tweaks to make some (C++) compilers happier = some casts for systems with 64-bit longs. = some fixes to format strings -Add a -v (verbose) option to the f2c-f77 script. This is (unfortunately) used by some GNU configure scripts (octave for example) for examining the fortran compiler behaviour.
1999-01-14Update f2c to 19980913. Provided in pr 6804 by Dan McMahill.frueauf1-3/+16