Commit graph

110 commits

Author SHA1 Message Date
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
adam
9c92f0e1b0 Pass -arch argument correctly to the compiler; fixes building on Mac OS X 2010-01-10 20:17:49 +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
asau
22b94dad9b Pull in system prototypes instead of defining own ones.
From <joerg>.
2009-12-23 00:48:20 +00:00
asau
74ff956e70 Detect absense of mkdtemp and mkstemp functions.
Should unbreak build on Solaris. PR pkg/42428
2009-12-23 00:32:17 +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
tron
d57b920900 Use ${BSD_INSTALL_DATA} instead of ${INSTALL_FILE} which is only available
under NetBSD and conflicts with a "pkgsrc" setting.

The "f2c" package now builds and installs under Mac OS X (Snow Leopard).
2009-11-23 17:12:30 +00:00
tnn
da10d0fd8f fix grammar to make bison happy 2009-11-23 15:30:29 +00:00
asau
44ceace5b7 Fix NetBSD builds now: include bsd.dep.mk, conditionalize bsd.depall.mk. 2009-11-23 15:08:45 +00:00
asau
956a004b13 Simulate "bsd.init.mk" because for some unknown reason
pkgsrc doesn't provide it.
This fixes build problems on platforms other than NetBSD.
2009-11-23 10:43:36 +00:00
tnn
06ced45c64 Resurrect patch-ai, it's needed to build on 64-bit platforms. (hi asau!) 2009-11-22 21:19:19 +00:00
asau
7b4ce39235 Follow package update. 2009-11-22 13:12:53 +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
dmcmahill
7837f7c275 Add the correct header entry for sparcv8. Addresses PR pkg/33997. 2009-06-25 14:22:08 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +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
rillig
7bc661e317 Fixed PKGMANDIR. 2007-03-17 16:10:13 +00:00
dmcmahill
b03e325e08 Add __sparcv9 to the list for 64-bit systems. Fixes compilation on
solaris in 64 bit mode.  Patch from Gilles Dauphin.
2007-02-15 13:29:19 +00:00
dmcmahill
76f21a7f78 fix one more quoting problem 2007-02-05 14:43:39 +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
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +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
agc
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +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
jlam
011455d41a Nuke PKG_FC definition here which broke the semantics of PKG_FC as defined
by the wrapper framework.  This commit is part of the USE_FORTRAN-removal
commit.
2005-01-12 15:43:39 +00:00