Commit graph

67 commits

Author SHA1 Message Date
rillig
8c6aee8563 lang: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 19:03:56 +00:00
maya
ac48cbbfb7 f2c: strip -Werror for everyone. It's unsuitable for a release, and it
isn't an upstream choice, but is likely a result of using bsd.prog.mk in
files/

At least one person had an issue with it, although it (mysteriously) builds
fine with GCC 6.5 and -Werror, even now.

PR pkg/48482
2018-11-20 09:38:26 +00:00
jperkin
2b9add05a6 Only install catman page if catinstall is set. 2013-09-12 13:10:19 +00:00
jperkin
1b1a7827c6 Restore the catman page installation. This reverts the fix for PR#42533,
and ensures that the manual pages can now be read on SunOS, however it
should not affect HP-UX support as this package now pulls in nroff as a
tool to correctly generate the catman page.

Bump PKGREVISION.
2013-09-12 11:26:30 +00:00
rodent
3ca117824e "$foo is ambiguous. Use ${foo} if you mean a Makefile variable or $$foo if
you mean a shell variable."
2013-04-06 11:39:25 +00:00
asau
88feb4ac62 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 20:11:34 +00:00
darcy
f390b0e753 Revert previous change. The missing file is part of devel/libf2c. 2011-11-29 19:01:41 +00:00
darcy
ce40cdcbc8 Add missing include file.
Bump PKGREVISION as new file was included in package.
2011-11-29 18:26:51 +00:00
asau
7d6d7af3c1 Update to f2c-20100903.
Requested in PR pkg/44076

Changes since previous package:

Wed Jul  7 10:51:12 MDT 2010
  src/data.c, src/format.c, src/p1output.c:  "invisible" tweaks to
silence warnings seen in compilation under Ubuntu; version.c not changed.

Fri Aug 27 09:14:17 MDT 2010
  format.c: make sizeof(buf) depend on MAXNAMELEN to fix a bug with long
names.  Update mswin/f2c.exe.gz accordingly.

Fri Sep  3 16:03:24 MDT 2010
  fc:  have "-m ..." modify CC rather than CFLAGS (to affect linking).
2010-12-14 18:12:40 +00:00
adam
6eb0c66e7d * Accept -isysroot option (Darwin)
* On Darwin, optionally set F2C_F77_CPP, so it can be set in mk.conf
2010-11-11 07:44:10 +00:00
wiz
14d9d7bc63 Fix a typo. 2010-11-01 18:01:16 +00:00
dmcmahill
f4c9a1675e update the distfile creation comments a bit 2010-11-01 11:12:15 +00:00
ahoka
6c1367b58f dont -Werror with clang 2010-09-23 22:27:04 +00:00
dholland
ff2f8feec5 Fix integer type misuse caught by gcc 4.4. PR 43291 from Makoto Fujiwara;
the patches in the PR used unsafe (but less wrong) integer/pointer casts,
so I did things somewhat differently.
2010-07-31 20:31:33 +00:00
tnn
e2f633a22f Pregenerate the parser (gram.c) and disable implicit regeneration.
Drop yacc(1) dependency.
This solves the circular dependency f2c->bison->libiconv->libtool-base->f2c
2010-01-03 01:37:59 +00:00
tnn
5f39df292a get rid of the catpage. Should close PR 42533. 2009-12-28 11:42:19 +00:00
jmmv
f3c7a2782f Bypass the default setting of CPP in OS X and explicitly use /usr/bin/cpp.
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-20 12:27:57 +00:00
asau
ba78a9b882 Restore YACC dependency lost during previous update. 2009-12-03 12:48:37 +00:00
asau
23b6251ef3 Split f2c into library (devel/libf2c) and translator packages.
Requested by <joerg>.
2009-12-03 12:39:59 +00:00
dsainty
fa5dc1e97a USE_TOOLS+=yacc - For building in semi bovine-free environments. 2009-12-01 10:09:17 +00:00
asau
26a39a85b9 Update f2c to 2009-04-11 snapshot.
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-11-22 12:52:53 +00:00
asau
68d452c0cb Don't enforce linking in MAIN__. Bump package revision.
No changes in libraries.
No fallout expected, none found so far.
2009-10-31 19:15:44 +00:00
dbj
7503fad2a9 add handling for darwin gcc's -install_name, -compatiblity_version and
-current_version flags.  These are added by libtool and break going through f2c
bump PKGREVISION
2009-01-05 03:45:17 +00:00
dmcmahill
2454a41eaa When calling 'cc -c' use a stripped down version of CFLAGS that
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.
2008-04-30 21:38:15 +00:00
gdt
264f4f3189 # Many failures - this is *very* far from safe.
MAKE_JOBS_SAFE=		no
2007-12-16 15:47:55 +00:00
hira
8951aa3012 Back out previous. Pointed out by uebayasi@ and martti@. 2007-09-25 10:03:52 +00:00
joerg
29a80a3a24 Add DESTDIR support. 2007-08-16 00:31:21 +00:00
minskim
5be50b1fed Make this package build on case-insensitive filesystems by renaming
conflicting files.
2007-06-17 21:24:41 +00:00
dmcmahill
b5b7a817be - The f2c-f77 script that emulates a fortran comiler has deviated so much
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
2007-02-05 14:33:21 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
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-05 20:49:47 +00:00
dmcmahill
6b00050abe In the post-extract target avoid trying to gunzip a particular
file which triggers a bug in some versions of zlib.  This file
was not used anyway.
2005-12-01 13:06:07 +00:00
jlam
bf9129c41e Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making
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-07-15 18:27:48 +00:00
jlam
419428ec4a Note where gzip or gunzip is required by the package since it isn't
required by default any longer in bsd.pkg.mk under the new tools
framework.
2005-05-15 22:02:26 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
dmcmahill
21e4aa0d45 update to f2c-20001205nb8
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.
2005-01-28 23:37:42 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
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-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
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-22 08:09:14 +00:00
dmcmahill
db66e6eea2 - don't hard code the c compiler name.
- 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-15 20:56:31 +00:00
dmcmahill
cc80f4187c libtool-ize this for building its shared libs instead of using
bsd.lib.mk.  Should address PR26628 where this package can't
build on solaris.  In addition, this cleans up some PLIST hacks.
2004-09-14 22:09:40 +00:00
minskim
d5c293996f Do not override LIBOWN and LIBGRP. 2004-04-09 21:07:48 +00:00
jlam
326169077a USE_BUILDLINK3 must be set to "yes" or "no", not defined/undefined. 2004-03-23 04:40:59 +00:00
grant
796344b117 bl3ify. rename post-patch target to do-configure, as the compiler is
not available before the buildlink phase, and calling the compiler in
the patch phase is Wrong.
2004-02-17 06:36:38 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jlam
589016dbaa Use buildlink2. 2002-08-27 17:32:09 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
wiz
2702f34238 PKGSRCDIR -> PKGDIR. pkg/17457 by rafal. 2002-07-02 14:22:16 +00:00
dmcmahill
e8a6573371 fix PLIST and build on mipsel machines where all code is PIC so we don't
need to build a _pic lib.

fixed PR pkg/16302 submitted by
Daniel Senderowicz <daniel@mispibes.SynchroDS.COM>
2002-06-17 04:21:08 +00:00
dmcmahill
323e131bd7 fix the f2c-f77 handling of the '-m' flag. Needed in preparation for
adding -mieee to CFLAGS and FFLAGS for alpha.

bump rev to f2c-20001205nb5
2002-01-22 16:47:22 +00:00
hubertf
5542206cba Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
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-11-29 01:12:24 +00:00