Commit graph

20 commits

Author SHA1 Message Date
jlam
b6b853727d Nuke USE_FORTRAN and bring the f2c handling within the mk/compiler
framework.  The list of changes include:

  * Modify compiler.mk so that "c" is always prepended to USE_LANGUAGES,
    so we no longer need to say it in package Makefiles.  Packages
    should now append to USE_LANGUAGES instead of setting it.

  * Create mk/compiler/f2c.mk which implements another pseudo-compiler
    "f2c" that may be used with any C compiler backend, e.g.

	PKGSRC_COMPILER= f2c ccache gcc

  * Teach the various "real" compiler files, e.g., sunpro.mk, mipspro.mk,
    etc., to use f2c if the native Fortran compiler isn't present.

Packages that use Fortran should now simply include the line:

	USE_LANGUAGES+=	fortran

in the package Makefile.
2005-01-12 15:31:58 +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
snj
b65ba9294f USE_BUILDLINK3 needs to be set to yes. 2004-04-25 02:16:42 +00:00
drochner
6277037b00 update to 4.2r0
changes:
-configuration changes
-support "szip" compression
-some utilities added
-fp2hdf replaced by hdfimport
-USE_BUILDLINK3
2004-04-20 18:14:37 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
dillo
2cce2b1002 don't define test target directly, use do-test 2003-07-12 13:19:03 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
wiz
5543418437 buildlink1 -> buildlink2. 2002-10-09 18:34:58 +00:00
jtb
f8a0903fc5 Update to version 4.1r5.
New Features and Changes:
========================

o The following Vdata routines were added:

     VSsetblocksize/vsfsetblsz -- sets the block size of the
                                  linked-block element.
     VSsetnumblocks/vsfsetnmbl -- sets the number of blocks for
                                  a linked-block element.
     VSgetblockinfo/vsfgetblinfo -- retrieves the block size and the number
                                    of blocks of a linked-block element.

o  Two routines were added to get compression information for the SD and
   GR interfaces, including chunked elements: SDgetcompress/sfgcompress
   and GRgetcompress/mggcompress.

   Note:

   - For a JPEG image, GRgetcompress only returns the compression type, not
     the compression information (i.e, quantity and force_baseline).  This
     information is not currently retrievable.

   - Getting compression type for JPEG chunked images is not working yet.

o  "hdp dumpgr" has a new option, -pd, to print palette data only.  Also,
   whenever option -p or -pd is given, only palettes are printed, and no
   images or file attributes.

o  A new FORTRAN function, heprntf (HEprint), was added.  It takes two
   arguments: file name and level.  If the file name string has 0 length,
   then error messages will be printed to standard output.

o  A memory leak in the netCDF portion of the HDF/mfhdf distribution
   was fixed.

o  The "#define NULL" was removed since ANSI C compilers are required to
   define NULL.

o  When using "hdp dumpgr", data was being printed in the range of 0-250
   when it should have been between 0-168.  This problem is now fixed.
2002-05-03 23:14:52 +00:00
jtb
4dec00fdaa Add defaults for all instances of EVAL_PREFIX. 2001-05-03 22:16:50 +00:00
jtb
11d367eaa0 Add -DNETLONG=int to CPPFLAGS instead of using a patch. Only link
executables with libm when truly necessary.  Add sparc64 and powerpc support.
Determine endianness at compile time rather than at configuration.
2001-04-19 00:56:33 +00:00
jtb
eb0cef2016 Change MAINTAINER section to packages@netbsd.org 2001-04-14 21:43:38 +00:00
jtb
efd89b3224 Don't use optimization for compiling "bytesex.c". 2001-03-31 18:23:00 +00:00
zuntum
ef5ca26635 o Fix/add quoting
o Respect ${CFLAGS}
2001-03-31 11:14:29 +00:00
jtb
6338eb7674 Build only static libraries since part of the library is written in
Fortran, libf2c is static, etc.  Fixed "hdfi.h" to work with any
architecture supported by NetBSD.  Use "xdrposix.c" instead of
"xdrstdio.c" since the latter seems to be missing some functions.
Fixed "initialization from incompatible pointer type" warnings.
General improvements to Makefiles.  Should build/work on any NetBSD
system now.
2001-03-25 01:09:49 +00:00
jtb
d1b301a2f2 Added F2CBASE_DEFAULT=${LOCALBASE} so that EVAL_PREFIX will give a
sensible value if a dependency is not yet installed. Problem noted by
Matthias Drochner with fix by Alistair Crooks.

Fixed `ncgen' to generate files which #include "netcdf_hdf.h" and
"netcdf_hdf.inc" thus allowing the HDF and netCDF packages to coexist.

Added test target in package Makefile for compiling and running the tests
for the libraries and the `ncdump' program.
2001-03-22 23:19:16 +00:00
jtb
1f35fec997 Define DEC_ALPHA and BIG_LONGS on Alpha platform. Added NOGCCERROR=1
to all of the Makefiles (for the moment).
2001-03-09 22:47:43 +00:00
jtb
cc51c5d172 Added MKPICINSTALL=no, MKPROFILE=no to the libmfhdf Makefile. 2001-03-08 21:15:45 +00:00
jtb
40d1d759a0 Vastly decrease the number of files run through `sed'. Some other minor
tidying.
2001-03-02 19:40:51 +00:00
jtb
6db9e726b8 Initial import of hdf: NCSA Hierarchical Data Format
HDF is a multi-object file format that facilitates the transfer of
various types of scientific data between machines and operating
systems.  HDF allows self-definitions of data content and easy
extensibility for future enhancements or compatibility with other
standard formats.  HDF includes Fortran and C calling interfaces, and
utilities to prepare raw image of data files or for use with other
NCSA software.  The HDF library contains interfaces for storing and
retrieving compressed or uncompressed 8-bit and 24-bit raster images
with palettes, n-Dimensional scientific datasets and binary tables.
An interface is also included that allows arbitray grouping of other
HDF objects.
2001-02-28 22:18:38 +00:00