pkgsrc/math
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
..
abs Removed trailing white-space. 2005-05-23 08:26:03 +00:00
admesh Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
algae Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
aribas Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
bc Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
blas Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
blitz++ Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
calc Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
calcoo import calcoo-1.3.16, another desktop calculator 2005-05-18 15:46:06 +00:00
capc-calc Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
cln Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
dcdflib.c Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
dcdflib.f Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
dfftpack Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
djbfft Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
eispack Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
ess Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
eukleides Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
euler Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
fftpack Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
fftw Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
fftw2 Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
galculator Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
gap Note that gtar is required by the package. 2005-05-16 01:15:30 +00:00
gcalctool Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
geg Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
glpk Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
gnumeric Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
gnumeric14 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
gp-autpgrp Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
gp-factint Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
gp-fplsa Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
gp-grape Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
gp-grpconst Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
gp-lag Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
grace Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
graphopt Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
grpn Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
gsl on SunOS/sparc with gcc, turn off the -mcpu flag to avoid an internal 2005-02-28 12:11:29 +00:00
gtklife Homepage and master site changed. Also, the tarball changed; now it's 2005-05-18 21:10:51 +00:00
guppi Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
lapack Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
libffm Add RMD160 checksum. 2005-05-25 12:37:37 +00:00
libmatheval Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
linpack Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
ltm Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
mapm Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
mathomatic Update HOMEPAGE. 2005-05-31 07:29:38 +00:00
maxima Perl is needed to format the documentation. Add USE_PERL5=build. 2005-05-07 15:21:19 +00:00
mcsim Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
meschach Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
metis Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
minpack Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
mpfr Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
mtl Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
newmat Distfiles with the same name but different 2005-04-16 02:12:48 +00:00
ntl Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
octave update to 2.1.71 2005-05-31 17:24:23 +00:00
octave-current Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a 2005-05-31 10:01:36 +00:00
octave-forge Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
odepack Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
otter Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
p5-Math-Bezier Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Math-BigInteger Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Math-FFT Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Math-Interpolate Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Math-MatrixReal Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Math-Pari One PKGREVISION occurrence is enough 2005-05-02 14:26:53 +00:00
p5-Math-Random Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Number-Latin Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Set-Crontab Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Set-Infinite Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Spreadsheet-ParseExcel Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Spreadsheet-WriteExcel Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
pari Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
pari-galdata Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
php-bcmath Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
pspp Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
py-fpconst Removed trailing white-space. 2005-05-23 08:26:03 +00:00
py-numarray Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
py-Numeric Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
py-pytables Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
py-rpy Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
py-Scientific Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
py-Scientific-doc Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
qalculate Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
quadpack Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
R Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
randlib Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
ruby-bigfloat Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be 2005-03-24 21:12:50 +00:00
ruby-bitvector Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be 2005-03-24 21:12:50 +00:00
ruby-gsl Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
sc Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be 2005-03-24 21:12:50 +00:00
scilab Note that this package uses tee. 2005-05-16 04:53:07 +00:00
slatec Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
snns Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
statist Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
superlu Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
tasp-vsipl Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
tochnog Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
udunits Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
vista Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
xeukleides Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
xgap Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
xldlas Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
xlife Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
xlispstat Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
xmgr Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
yacas Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
yorick Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
Makefile Remove packages that have been broken on 2.0/i386 for over 9 months 2005-05-18 22:39:00 +00:00