Commit graph

26 commits

Author SHA1 Message Date
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
54de37e60e Convert USE_GNU_TOOLS into USE_TOOLS as the former is no longer supported
in pkgsrc.
2005-05-31 21:53:26 +00:00
drochner
ccf8e31485 update to 1.6.02
changes:
1. The original plug_in and autoload system (see 5/Sep/04 below)
   has been completely revamped to make a true "package" system.
2. The Makefile system for compiled yorick add-ons has completely
   changed.
3. The string manipulation functions have been dramatically extended.
4. The yorick user manual and quick reference cards have been updated.
2005-05-31 18:02:31 +00:00
rillig
f795c2e475 Removed trailing white-space. 2005-05-23 08:26:03 +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
wiz
0f06d106c7 Reset maintainer, mail could not be delivered. 2004-12-03 13:56:26 +00:00
snj
34b620cc2c Provide a buildlink3.mk. 2004-05-09 00:44:17 +00:00
snj
c0e7afe231 Convert to buildlink3. 2004-04-11 09:02:04 +00:00
seb
a643343c47 Remove info files entries from PLIST. 2004-03-08 22:12:38 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
seb
56b682547a USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:59:08 +00:00
seb
4285450dc6 Convert to USE_NEW_TEXINFO.
Fix info files generation by ensuring buildlink2 framework is used:
use BUILD_DIRS/INSTALL_DIRS.
2003-08-02 22:09:36 +00:00
seb
bd00d6d3a3 depkglint. 2003-08-02 21:45:39 +00:00
seb
ee3c310df9 Use buildlink2 (for X11 benefit). 2003-08-02 21:43:24 +00:00
cjep
2ae1e98978 Add NetBSD RCS tags. 2003-05-18 13:09:02 +00:00
jmc
2370e38978 Get typo for doc/doc 2003-05-12 02:10:23 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
jtb
8418abca7b Update to version 1.5.12.
Changes:

* The directory structure and configuration scripts have completely changed

* RGB colors supported for color= keyword, pli, plf, plfp
   see help,color or help,pli for more information

* lsdir, mkdir, rmdir functions added so yorick can read and
   manipulate directories by itself

* i86_primitives and other modern binary formats added
   see help,createb and help,__i86 for more information

* cheby.i, convol.i, dawson.i, kepler.i added to interpreted
   library

* added "hex" 3D transport solver (similar to drat 2D solver)

* improved the emacs/yorick.el package again, mostly by removing
   unwanted "improvements" to emacs; see emacs/README
2003-04-29 22:41:43 +00:00
drochner
d8eab9a1a3 bring an lseek prototype into scope - this makes it survive its own
installation test for me
2002-01-18 17:32:22 +00:00
zuntum
98cf373d36 Move pkg/ files into package's toplevel directory 2001-11-01 00:32:23 +00:00
agc
fa5c767d84 Move to sha1 digests, and add distfile sizes. 2001-04-19 08:45:37 +00:00
agc
9e8d6c8b8d + 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:33:31 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
jlam
2c4909e15b NetBSD/alpha doesn't have <machine/fpu.h> or ieeefp*() functions, so don't
compile that code.
2000-10-02 10:58:51 +00:00
rh
279764a93d Initial import of yorick-1.4, a numerical algebra system. Provided through
PR pkg/10533 by John Refling <refling@comet.lbl.gov>
2000-08-03 17:49:25 +00:00