Commit graph

55 commits

Author SHA1 Message Date
adam
10e37f136d Changes 4.1.3:
* Stop looking for xdr if --disable-dap is used.
* Don't try to run (some) fortran configure tests on machines with no fortran.
* Allow nccopy to rechunk with chunksizes larger than current dimension lengths.
2012-03-07 16:11:29 +00:00
asau
dfc6889736 "fortran" -> "fortran77" except where it is clear that it isn't F77.
"fortran" is alias of "fortran77" for now, but it will change later.
2010-07-30 10:36:22 +00:00
asau
6754aacfb8 Follow f2c/libf2c split: bump revision of all packages
that list Fortran in used languages.
2009-12-03 13:06:51 +00:00
dmcmahill
e830acbdbe Add missing header needed for recent (gcc44) gcc. 2009-10-06 00:52:28 +00:00
joerg
c569c6a51f Mark packages as MAKE_JOBS_SAFE=no that failed in a bulk build with
MAKE_JOBS=2 and worked without.
2009-06-30 00:07:09 +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
tnn
a513e792b2 MAKE_JOBS_SAFE=no. From ASau on #pkgsrc. 2007-12-10 10:07:55 +00:00
rillig
cce3806cd8 Fixed PKGMANDIR.
Removed the man3f category, since that is not supported by pkgsrc.
PKGREVISION++
2006-11-11 22:46:14 +00:00
wiz
f5b8945cb9 Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 21:35:58 +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
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
adam
f27ca028c5 Changes 3.6.0-p1:
Patched version of 3.6.0 to fix potentially serious
 bug described at
 http://www.unidata.ucar.edu/packages/netcdf/docs/known_problems.html#cdf2-bug

Changes 3.6.0:
 Added texinfo source for the documentation.

 Added large file tests to Windows directory in distribution.

 Modified win32 visual studio project files so that m4
 is no longer required to build netcdf under visual studio.

 Modified rules.make to use install instead of cp,
 fixing install problem for cygwin users.

 Modified configure/install stuff to support HP-UX.

 Modified configure/install stuff to support G95.

 In the f90 interface, applied Arnaud Desitter's fixes
 to correct mismatches between scalar and array
 arguments, eliminating (legitimate) complaints by the
 NAGWare f95 compiler.  Also fixed bugs introduced in
 3.6.0-beta5 in the mapped array interfaces.
2005-02-25 09:52:47 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
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
markd
3b3a0aea9f Replace USE_GCC_SHLIB with appropriate USE_LANGUAGES (c c++ fortran). 2004-11-10 09:33:18 +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
wiz
0a2616d7c9 Unused. 2004-04-25 23:55:36 +00:00
snj
1ac8daa07f Convert to buildlink3. 2004-04-12 03:41:51 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
cjep
f0876e747e Make this package compile with gcc3. Fixes PR#23330 from
Wolfgang S. Rupprecht.

Patches from http://www.unidata.ucar.edu/packages/netcdf/known_problems.html
(Mike Romberg).
2004-01-11 15:58:45 +00:00
wiz
f7da969cea Add RCS Ids to patches (hi rtr!). 2003-11-29 00:14:54 +00:00
rtr
7fb103ae79 Additional patches resolve gcc3 issues in cpp code & conf macro.
Approved by jlam@netbsd.org
2003-10-26 14:05:59 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +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
grant
712c21283a s/USE_CXX/USE_GCC_SHLIB/ - there are more shared libraries than just
libstdc++ in gcc3.

when defined, USE_GCC_SHLIB ensures that the correct rpath is passed
to the linker, and a full dependency on the compiler package is
registered.

packages which define USE_GCC_SHLIB should not include
mk/gcc.buildlink2.mk (or gcc{,3}/buildlink2.mk) as it is handled
automatically.
2003-05-29 23:14:07 +00:00
jtb
be3c007c49 Add missing include file -- ncvalues.h. 2003-04-29 21:57:03 +00:00
jtb
01fbc3b888 Don't install man pages for Fortran 90 interface. 2003-03-02 08:39:18 +00:00
jtb
fef1bf968c Update to 3.5.0.
Some relevant changes:

 Fixed miswriting of netCDF header when exiting define
 mode.  Because the header was always written correctly
 later, this was only a problem if there was another
 reader of the netCDF file.

 Fixed explicit synchronizing between netCDF writer and
 readers via the nc_sync(), nf_sync(), and ncsync()
 functions.

 Fixed a number of bugs related to attempts to support
 shrinking the header in netCDF files when attributes
 are rewritten or deleted.  Also fixed the problem that
 nc__endef() did not work as intended in reserving
 extra space in the file header, since the extra space
 would be compacted again on calling nc_close().

 Fixed the "redef bug" that occurred when nc_enddef()
 or nf_enddef() is called after nc_redef() or
 nf_redef(), the file is growing such that the new
 beginning of a record variable is in the next "chunk",
 and the size of at least one record variable exceeds
 the chunk size (see netcdf.3 man page for a
 description of this tuning parameter and how to set
 it).  This bug resulted in corruption of some values
 in other variables than the one being added.

 The "__" tuning functions for the Fortran interface,
 nf__create, nf__open, and nf__enddef, are now
 documented in the Fortran interface man pages.

 Changed the extension of C++ files from ".cc" to ".cpp".
 Renamed the C++ interface header file "netcdfcpp.h"
 instead of "netcdf.hh", changing "netcdf.hh" to
 include "netcdfcpp.h" for backward compatibility.

 Fixed bug in ncdump using same CDL header name when
 called with multiple files.

 Added new NULL data type  NC_NAT (Not A Type) to
 facilitate checking whether a variable object has had
 its type defined yet, for example when working with
 packed values.

 Fixed use of compile-time macro NO_NETCDF_2 so it
 really doesn't include old netCDF-2 interfaces, as
 intended.

 Fixed C++ friend declarations to conform to C++ standard.
2003-03-02 08:26:09 +00:00
jtb
16719fb816 Add a working server to MASTER_SITES. The master site has been
refusing connections for at least 1 year, while the other mirror site
no longer exists.
2003-02-18 00:23:46 +00:00
jlam
d197ec28ee Note that this package uses C++ (for lang/gcc/buildlink2.mk, if used). 2002-10-22 21:55:23 +00:00
wiz
520c7ad8ea Unused. 2002-10-09 19:05:52 +00:00
jlam
a3ce4899e7 buildlink1 -> buildlink2 2002-09-10 10:46:41 +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
agc
2c1ab33758 Patch from Chuck Cranor to fix his own PR 15022.
Don't pass a GNU-specific m4 argument down to NetBSD's m4.
2002-01-08 19:55:51 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
jlam
75ca9673af Skip "makewhatis" step during installation. 2001-07-30 03:42:26 +00:00
jlam
d2df086f75 Add buildlink.mk file for use by other package Makefiles. 2001-07-29 04:48:03 +00:00
jlam
e49a8936d1 Mark as USE_BUILDLINK_ONLY. 2001-07-29 04:47:40 +00:00
jlam
c4e71c5e7a CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11 06:34:17 +00:00
wiz
dfb2d5edc6 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 00:44:09 +00:00
agc
d7d36b3561 + 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 10:57:56 +00:00
wiz
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
jlam
b204760232 USE_LIBTOOL instead of USE_PKGLIBTOOL 2000-07-25 08:28:03 +00:00
rh
74add3b300 s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
2000-06-01 11:23:11 +00:00