Commit graph

119 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
dholland
41c6e246f4 Add patch comments. 2015-12-29 23:34:43 +00:00
agc
54622f28e2 Add SHA512 digests for distfiles for lang category
Problems found with existing digests:
	Package nhc98 distfile nhc98src-1.22.tar.gz
	a8adc8f22371998ee0657bc0e01058a57d876abc [recorded]
	81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated]

Problems found locating distfiles:
	Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz
	Package icc11: missing distfile l_cproc_p_11.1.080.tgz
	Package jini: missing distfile jini-1_2_1_001-src.zip
	Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz
	Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz
	Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin
	Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh
	Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz
	Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz
	Package sun-jre6: missing distfile jce_policy-6.zip
	Package sun-jre6: missing distfile jre-6u45-linux-x64.bin
	Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh
	Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz
	Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 22:50:31 +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
adam
41f2dbc8bb Pass -framework option; needed on Mac OS X 2013-04-12 13:58:54 +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
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