Commit graph

65 commits

Author SHA1 Message Date
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
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
3a87120a36 add a minor patch to make this package actually work on 64 bit systems.
hello.f works on alpha's too now.
2004-09-15 12:27:26 +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
wiz
ec3d725a1d No USE_BUILDLINK2 package sets USE_FORTRAN any longer -- convert support
to bl3 and remove f2c's buildlink2.mk file.
2004-05-12 13:23:08 +00:00
snj
9680f71323 Provide a buildlink3.mk. 2004-05-11 05:28:20 +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
dmcmahill
c6590bdbbc include x86_64 in the 64-bit list. Hopefully fixes recently noted problems
on x86_64.
2004-03-13 13:47:40 +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
jlam
a1c40fc01e We no longer need to explicitly call ${BUILDLINK_*} for CC, CXX, LIBTOOL,
etc. because the bare variables will point to the correct executables.
2004-02-08 04:03:14 +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
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
wiz
4cce547f1e Unused. 2002-10-12 10:28:36 +00:00
jlam
589016dbaa Use buildlink2. 2002-08-27 17:32:09 +00:00
jlam
26b466502d Set some environment vars so that f2c-f77 will use the buildlink2 wrappers
instead of the actual compiler.
2002-08-27 17:31:58 +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
1e169e1200 change NOGCCERROR from 'yes' to #defined. Addresses the build problems
on -current reported in  pkg/15844 by florence.henry@obspm.fr
2002-03-14 22:09:35 +00:00
dmcmahill
49213ba616 obey CC and CFLAGS. 2002-03-05 18:29:48 +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
jlam
28dc06397c Create ECHO_BUILDLINK_MSG for printing buildlink diagnostics. It's just
set to '${ECHO_MSG} "=>"' for now.
2001-11-30 17:21:54 +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
zuntum
a437fd43cc Move pkg/ files into package's toplevel directory 2001-11-01 00:20:13 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
jlam
851fe54af2 Create a wrapper for f2c-f77 that substitutes for -I and -L references to
${LOCALBASE} directories.  Also set PKG_FC to the buildlink'ed f2c-f77
wrapper script.
2001-07-25 23:51:38 +00:00
jlam
7b1d3cb465 Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:31 +00:00
jlam
c9b14a8c9a Add buildlink.mk file for use by other package Makefiles. 2001-07-18 22:11:33 +00:00
jlam
c24624ada8 Mark as USE_BUILDLINK_ONLY. 2001-07-18 21:48:36 +00:00
dmcmahill
1a92a6048e teach the f2c-f77 script about "-pg" (generate profiled code). 2001-04-22 13:55:27 +00:00
dmcmahill
c4d9d12212 fix soname for libf2c 2001-04-18 21:43:18 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
dmcmahill
0a0fa5f7d1 add LD_RUN_PATH to the -v output of f2c-f77. Needed by autoconf to correctly
determine fortran library run time paths.
2001-04-15 02:00:24 +00:00
dmcmahill
193aede902 one more shared lib fix. corrects ELF symlinks 2001-04-09 12:38:42 +00:00
dmcmahill
6ac2a4f06b -fix the combined f2c library. problem noted by Jason Beegan
- enable the -N option to the f2c-f77.  Allows increasing some runtime
  table sizes in the f2c compiler.
2001-04-09 01:44:38 +00:00
dmcmahill
f463c573e9 fix install. 2001-04-07 12:47:45 +00:00
dmcmahill
b9bbb4fe57 build and install shared libs as well as the static ones. add nb1 to the
version.
2001-04-07 12:43:47 +00:00
wiz
bd47fcc5d5 Remove an empty line to make pkglint happy. 2001-03-05 16:41:58 +00:00
dmcmahill
2175605765 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.
2001-02-24 18:37:45 +00:00
agc
82acd159f7 Move the COMMENT from being in its own file to a definition in the
package Makefile.
2001-02-17 09:06:56 +00:00
wiz
294cda9307 replaced some more commands by their ${COMMAND} counterparts 2000-01-09 01:19:09 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00