Commit graph

67 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
rillig
1379e5ef62 Replaced #defined with "yes" to make pkglint happy. 2005-05-22 21:53:49 +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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
645a2eab08 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:05:29 +00:00
tv
fc4476a027 Make sure libpisock is linked with -lm -- should fix compilation of
dependents that previously died because ldexp(), frexp() were unavailable.
2005-01-25 18:41:19 +00:00
gavan
c4cee26303 Remove old patch which causes LD to be ignored. This fixes builds on Solaris. 2004-11-02 15:56:03 +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
e8132b3fbf Relinquish maintainership of packages to tech-pkg@NetBSD.org. 2004-04-24 22:46:08 +00:00
tron
c5000ca018 Use Tcl/Tk 8.4.x, bump package revision because of that. 2004-03-16 11:23:43 +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
minskim
ac690cf634 Replace lang/tcl with lang/tcl83. Packages compatible with 8.4 will
be updated to depend on lang/tcl after Tcl/Tk update.
2004-03-08 19:52:50 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
grant
ef741f8a1a replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 07:49:20 +00:00
cjep
1b39677b6e Remove unnecessary blank lines. 2004-01-12 09:46:04 +00:00
tron
d6c03f3a6a Fix GCC 3.3.1 related build problem. 2003-09-28 15:09:50 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
rh
dd4a5ac257 Update pilot-link packages to 0.11.7. Changes are too numerous to list
here.  They include
	* tons of bug fixes,
	* USB support,
	* C++ support,
	* restructured libraries; and
	* tons of other new features.
2003-01-10 04:30:16 +00:00
markd
0dae03fd2c On Solaris iconv() is in libc. 2002-10-30 10:16:44 +00:00
bouyer
83c68e0ca7 Don't use use LD even if set, we did all the previous tests with ${ac_prog} 2002-10-27 17:56:24 +00:00
jlam
54822e4a54 buildlink1 -> buildlink2 2002-09-21 07:12:32 +00:00
wiz
80ee491886 Since the major of libiconv was increased during the update to 1.8,
bump dependency to latest libiconv version; recursively also bump all
dependencies of packages depending on libiconv.
Requested by fredb.
2002-09-10 16:06:32 +00:00
markd
2c33bcbdaf Reduce the amount of context in this patch as for some reason Solaris's
gpatch (and the version of patch in pkgsrc) don't like the original but
are happy with this.
2002-03-15 02:43:56 +00:00
dillo
fc09d38554 fix bug in previous 2002-01-30 10:19:39 +00:00
dillo
cffbbdc06a update pilot-link-libs to 0.9.5nb2:
fix error recovery (in SLP and PADP protocols)
2002-01-30 10:05:13 +00:00
jlam
048e52aa60 Use perl5/buildlink.mk instead of USE_PERL5 2001-11-30 17:32:17 +00:00
zuntum
d8ed248248 Move pkg/ files into package's toplevel directory 2001-10-31 20:43:56 +00:00
jlam
a4bc16d30c I am a triple idiot. The only relevant variable that x11.buildlink.mk
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR,
which points to the location of the X11R6 hierarchy used during building.
If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to
${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use.  Remove
the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and
revert changes to move x11.buildlink.mk before the other buildlink.mk files.
2001-10-24 22:10:43 +00:00
jlam
c79260650d Strongly buildlinkify. 2001-10-23 20:46:46 +00:00
dillo
8099f4b4ef Add patch provided by Bernd Sieker to retry opening tty. This allows
pilot-links to work with newer Handspring devices (they have a *very*
short timeout).

Version of pilot-link-libs bumped to 0.9.5nb1.
2001-08-09 08:49:46 +00:00
jlam
0d424e25cc Update pilot-link to 0.9.5. The source code is under new stewardship
and is undergoing many improvements and rewrites, many of which are
reflected in the current release.  The ChangeLog is too large to summarize.

The libraries and headers have been split off into a separate package
pilot-link-libs.
2001-06-27 18:04:38 +00:00
jlam
34d11d8a0f Generalize how the dependency pattern may be specified. Instead of just
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify
the dependency pattern as FOO_DEPENDS=foo>=1.0.  This allows things like
JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib.
Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
2001-06-23 19:26:48 +00:00
jlam
fd9f6a3b8d Add buildlink.mk files for use by other package Makefiles. 2001-06-22 05:46:26 +00:00
jlam
3989fed85c Mark as USE_BUILDLINK_ONLY. 2001-06-22 05:25:46 +00:00
tron
d4a50873a7 Fix lossage caused by distinfo conversion. 2001-04-22 10:45:05 +00:00
agc
d26f80ba43 Move to sha1 digests, and add distfile sizes. 2001-04-20 08:55:26 +00:00
agc
268ad0352c + 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:33:37 +00:00
wiz
07cd20b334 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 13:51:27 +00:00
jlam
f70229e460 Update MASTER_SITES and HOMEPAGE to new locations. 2001-02-07 16:15:53 +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
c43e2d6dac pilot-link has moved to sourceforge: change the MASTER_SITES and add
a HOMEPAGE.
2000-12-14 19:45:09 +00:00
jlam
6497228790 USE_LIBTOOL && LTCONFIG_OVERRIDE, not pkglibtool and patching configure 2000-06-08 23:33:39 +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
agc
a910a6fd62 Add package patch-sum files 1999-07-09 13:50:05 +00:00
frueauf
06f8755ae3 Update pilot-link to 0.9.3. 1999-05-22 18:14:03 +00:00
tron
dff56691e4 Don't attempt to build Perl5 library because it won't build if "pilot-link"
is not already installed.
1999-05-20 20:38:42 +00:00
tron
184acb14a5 Use "${BSD_INSTALL_SCRIPT}" instead of "${LIBTOOL} ${INSTALL_SCRIPT}"
because we don't need to deal with "MAKE_ENV" this way.
1999-05-20 20:37:50 +00:00
tron
02e48b67b3 Remove unnecessary assignments of "INSTALL", "INSTALL_DATA",
"INSTALL_PROGRAM" and "INSTALL_SCRIPT" from "CONFIGURE_ENV".
1999-05-20 20:09:49 +00:00
tron
0ea17efbca Build the include Perl5 module which we might need later. 1999-05-12 22:32:14 +00:00