Commit graph

107 commits

Author SHA1 Message Date
jlam
6e0c050321 * Teach the tools framework how to supply the pkgsrc version of
makeinfo if no native makeinfo executable exists.  Honor TEXINFO_REQD
  when determining whether the native makeinfo can be used.

* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.

* Get rid of all the "split" argument deduction for makeinfo since
  the PLIST module already handles varying numbers of split info files
  correctly.

NOTE: Platforms that have "makeinfo" in the base system should check
      that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
      correct.
2006-03-05 16:27:22 +00:00
markd
53346be7da Patch from R's svn trunk. Should fix build on NetBSD 1.6.2. 2006-02-26 11:58:25 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
markd
d25b5068d7 test -z $foo -> test -z "$foo"
fixes build on Solaris.
2006-02-04 22:25:06 +00:00
markd
9471f76f17 If MANZ=yes was set then the subsequent USE_TOOLS+=gzip caused a gzip
link to appear in the tools directory and be picked up and embedded in
one of the installed scripts.  Since this package clearly uses gzip at
runtime add an explicit USE_TOOLS+=gzip:run and fixup the gzip path that
gets embedded.  Fixes PR pkg/32218.  Bump PKGREVISION.
2006-01-12 01:41:48 +00:00
markd
c64417b924 Update R to 2.2.1
USER-VISIBLE CHANGES

    o   options("expressions") has been reduced to 1000: the limit
        of 5000 introduced in 2.1.0 was liable to give crashes from C
        stack overflow.


NEW FEATURES

    o   Use of 'pch' (e.g. in points) in the symbol font 5 is now
        interpreted in the single-byte encoding used by that font.
        Similarly, strwidth now recognizes that font 5 has a different
        encoding from that of the locale.  (These are likely to affect
        the answer only in MBCS locales such as UTF-8.)

    o   The URW font metrics have been updated to versions from late
        2002 which cover more glyphs, including Cyrillic.

    o   New postscript encodings for CP1250 (Windows East European),
        ISO Latin-7 (8859-13, Latvian, Lithuanian and Maori), Cyrillic
        (8859-5), KOI8-R, KOI8-U and CP1251.

    o   configure has more support for the Intel and Portland Group
        compilers on ix86 and x86_64 Linux.

    o   R CMD INSTALL will clean up if interrupted (e.g. by ctrl-C from
        the keyboard).

    o   There is now a comprehensive French translation of the messages,
        thanks to Philippe Grosjean.


DEPRECATED & DEFUNCT

    o   The undocumented use of atan() with two arguments is deprecated:
        instead use atan2() (as documented).

    o   The 'vfont' argument of axis() and mtext() is deprecated
        (it currently warns and does nothing).

    o   The function mauchley.test() is deprecated (was a misspelling)
        and replaced by mauchly.test()

Many BUG FIXES
2005-12-29 23:23:53 +00:00
markd
fbb0eb7793 avoid computed static constant (which was in any case the wrong value)
in log1p().  From R svn.  Should fix build on NetBSD-1.6.2.
2005-12-19 12:51:50 +00:00
markd
61ebfddd7f Update R to 2.2.0
Changes:
 This version contains several changes and additions, mostly incremental.
2005-12-11 14:37:12 +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
joerg
b5f1ea7150 forgot patch-ai in last commit 2005-12-01 23:12:18 +00:00
joerg
4e6e7dd792 - correctly depend on devel/gettext-lib, bump revision for this
- this uses libtool, tell the framework so
- don't declare alloca on DragonFly, it conflicts with system headers
- patch libtool.m4 fragment for DrgaonFly
2005-12-01 23:11:26 +00:00
rillig
a260811277 Added a variable R_HOMEPAGE_BASE that is needed as a replacement for all
those packages that currently use ${MASTER_SITE_R_CRAN:=foo} as their
HOMEPAGE. As the HOMEPAGE is a single URL, not a list of URLs, the
MASTER_SITE variables cannot be used for this.
2005-11-03 12:00:32 +00:00
rillig
5946936ffc Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
2005-09-28 20:52:18 +00:00
dmcmahill
89f8747cb3 add missing libiconv buildlink3.mk 2005-09-20 12:47:14 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
markd
06f7175cc4 Update R to version 2.1.1.
minor bug fixes.
2005-06-24 12:28:31 +00:00
kristerw
ab4e122aea Prevent paths to the build directories from being included in the package.
Bump PKGREVISION.
2005-06-19 00:45:45 +00:00
markd
3efe0facf0 Cleanup of tools paths appearing in installed files for the new tools
framework.  Bump PKGREVISION.
2005-06-11 02:37:00 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
jlam
48781afdbb For packages that use GNU configure, don't bother adding "TOOL"
variables into CONFIGURE_ENV if the new tools framework already takes
care of adding them automatically.
2005-05-22 05:35:32 +00:00
markd
2197cf5730 Don't try and use wide chars on NetBSD 1.6 as the support isn't complete
enough.  Fixes PR pkg/30274
2005-05-19 13:12:52 +00:00
drochner
3bea1395a9 update to 2.1.0
too many changes to list here
...still doesn't work within TEXmacs
2005-05-02 16:57:19 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
1e46c076aa Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
jlam
3588ad8a2a Move buildlink3.mk files ahead of targets as per example Makefile. 2005-01-12 22:50:20 +00:00
jlam
0e0b73913a Fix up the comment to note that we still need to unwrap some files at
post-configure time, even after the switch from buildlink2 to buildlink3.
Also, use SUBST_CLASSES instead of the custom post-configure target,
and take advantage of the fact that the "unwrap" SUBST_CLASS already
does mostly the right thing.
2005-01-12 22:49:35 +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
01d963cba0 Make bulk build happy by fixing up the rpath. Not actually an issue in
normal operation as the binary is always called from a wrapper script
that sets LD_LIBRARY_PATH.
2004-11-24 10:14:10 +00:00
markd
c44de9fe40 Update R to 2.0.1
Changes 2.0.1:
This is a maintenance version mainly to fix a number of minor bugs and
issues. Some rather nasty bugs were Windows-specific.

Changes 2.0.0:
Many things have changed since 1.0. The R language has acquired namespaces,
exception handling constructs, formal methods and classes, much improved
garbage collection, generalized I/O via connection objects, and
considerable improvements in the graphics area. The user workspace has been
reorganized, and so has the set of packages that ship with R. Several
"recommended packages" deemed indispensable in a statistical system are
bundled. In addition, there has been a large number of more specific new
functions, tweaks, and bugfixes.
2004-11-18 12:31:29 +00:00
jlam
5e5ac5cef9 USE_BUILDLINK3 is a yes/no variable. 2004-11-13 21:28:27 +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
wiz
62144ff6ab Annotate a comment:
# XXX: following comment still true for buildlink3?
# R does ugly things in the configure to get the default list of arguments
# for linking Fortran, which exposes the buildlink2 tricks so clean up
# afterwards
2004-07-06 22:56:32 +00:00
markd
7e64f2db56 Update R to 1.9.1
CHANGES IN R VERSION 1.9.1


NEW FEATURES

    o   as.Date() now has a method for "POSIXlt" objects.

    o   mean() has a method for "difftime" objects and so summary()
        works for such objects.

    o   legend() has a new argument 'pt.cex'.

    o   plot.ts() has more arguments, particularly 'yax.flip'.

    o   heatmap() has a new 'keep.dendro' argument.

    o   The default barplot method now handles vectors and 1-d arrays
        (e.g., obtained by table()) the same, and uses grey instead of
        heat color palettes in these cases.  (Also fixes PR#6776.)

    o   nls() now looks for variables and functions in its formula in
        the environment of the formula before the search path, in the
        same way lm() etc look for variables in their formulae.


DEPRECATED & DEFUNCT

    o   Support for non-IEEE-754 arithmetic (which has been untested
        for some time) will be removed in the next full release.

    o   Direct use of R INSTALL|REMOVE|BATCH|COMPILE|SHLIB is
        deprecated: use R CMD instead.

    o   The gnome/GNOME graphics device is deprecated and will be
        removed in the next full release.

Plus Bug Fixes.
2004-06-24 11:09:05 +00:00
uebayasi
6f8c4e2d4b Enable pkgviews installation. 2004-05-18 11:27:29 +00:00
markd
6ae7673bf6 R assumes it can append to the DESCRIPTION files of each R package while
building even though it uses INSTALL_DATA on them so set SHAREMODE=644
rather than have to patch an ever increasing number of files.
Idea from Julio M. Merino Vidal.
2004-05-07 22:47:26 +00:00
snj
dd82c3374a Convert to buildlink3. 2004-04-27 21:26:08 +00:00
markd
01318928ff Update R to 1.9.0 and buildlink3ify
USER-VISIBLE CHANGES

    o   Underscore '_' is now allowed in syntactically valid names, and
        make.names() no longer changes underscores.  Very old code
        that makes use of underscore for assignment may now give
        confusing error messages.

    o   Package 'base' has been split into packages 'base', 'graphics',
        'stats' and 'utils'.  All four are loaded in a default
        installation, but the separation allows a 'lean and mean'
        version of R to be used for tasks such as building indices.

        Packages ctest, eda, modreg, mva, nls, stepfun and ts have been
        merged into stats, and lqs has been returned to MASS.  In all
        cases a stub has been left that will issue a warning and ensure
        that the appropriate new home is loaded.  All the time series
        datasets have been moved to package stats.  Sweave has been
        moved to utils.

        Package mle has been moved to stats4 which will become the
        central place for statistical S4 classes and methods
        distributed with base R.  Package mle remains as a stub.

        Users may notice that code in .Rprofile is run with only the
        new base loaded and so functions may now not be found.  For
        example, ps.options(horizontal = TRUE) should be preceded by
        library(graphics) or called as graphics::ps.options or,
        better, set as a hook -- see ?setHook.

    o   There has been a concerted effort to speed up the startup of
        an R session: it now takes about 2/3rds of the time of 1.8.1.

    o   A warning is issued at startup in a UTF-8 locale, as currently R
        only supports single-byte encodings.

plus many new features and bug fixes.
2004-04-27 11:24:31 +00:00
jwise
eec580656a Fix build against newest X11. for some obscure reason, src/modules/x11/dataentry.c
explicitly unset NeedFunctionPrototypes, which can no longer safely be done in recent
X11 sources (as _Xconst is only defined if this is set, yet is used everywhere).
2004-03-30 16:49:32 +00:00
markd
1e542beb23 Switch to using tk8.4
bump PKGREVISION
2004-03-11 21:04:47 +00:00
minskim
2827f5b2d8 Enable tk84 and replace x11/tk with x11/tk83. Packages compatible
with 8.4 will be updated to depend on x11/tk after Tk update.
2004-03-08 20:27:13 +00:00
markd
ed34a1ec1f USE_LANGUAGES= c fortran 2004-03-01 11:42:13 +00:00
grant
f1ab3f4ed4 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 13:51:13 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
markd
56811f2ffc Reintroduce reordering tests for termcap vs termlib vs ncurses and
make dependency on libbz2 explicit

Fixes build on Solaris 8.
2004-01-05 12:20:57 +00:00
markd
bb2bebcee3 Fix building when non-root.
Closes PR pkg/23760
2003-12-19 11:43:19 +00:00
adam
4af341792b Now uses shared blas library from math/blas 2003-12-04 13:42:37 +00:00
markd
6ea261acc7 Update R to 1.8.1.
Changes since 1.6.2

Many new features.
Language changes.
Additional standard package 'mle'.
Some old features deprecated or defunct.
Many many bug fixes.

Update to 1.8.0 from Ray Brownrigg in private communication, cleaned up
and updated to 1.8.1 by me.
2003-12-03 12:05:18 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00