Commit graph

15 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
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
0cbe9b3900 Add RMD160 digests in addition to SHA1 ones 2005-02-23 15:59:10 +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
kristerw
e80d4a05fd Do not redefine u_int32_t; it breaks on NetBSD 1.6, and the
source code does not use that type anyway...
2004-08-02 00:07:40 +00:00
minskim
8dc227a545 Make this package build with thread-enabled Tcl. 2004-05-31 07:25:58 +00:00
xtraeme
8d2bb7dcb6 Drop maintainership; I don't have the enough free time to maintain
all these packages.
2004-05-07 01:14:46 +00:00
minskim
24469b6b6b Update quirc to 0.9.84 and bl3ify. Switch to Tcl/Tk 8.4.
Changes sinec 0.9.82:
  - Fixes to make it compile with gcc 3.3 and Tcl/Tk 8.4.
  - Highlight a window when your nick appears in it.
  - fix for a bug that causes QuIRC to crash on nicknames longer than
    30 characters.
2004-03-12 06:07:12 +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
grant
ef741f8a1a replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 07:49:20 +00:00
kristerw
301a33a8d5 Make this compile with gcc 3.3.
Solves PR pkg/23169.
2003-10-25 23:37:26 +00:00
xtraeme
252d9f7253 Change my email address to the NetBSD one, ok'ed by wiz@ 2003-08-28 20:05:13 +00:00
jmc
3279243cd1 Patch htons issue with code. Don't define htons if configure didn't find it
and it's not already defined.
2003-03-01 11:08:35 +00:00
grant
65d9786f7f Initial import of quirc 0.9.82 into the NetBSD packages collection.
QuIRC is a stable and powerful IRC client. It features a clean interface
that scales well to many servers and channels. It includes many features
that power users will appreciate. It contains advanced scripting
facilities powered by Tcl, accompanied by Tk. It has been called by
some what XiRCON should have been, and by others, simply great.

Submitted in PR pkg/19450 by Juan RP.
2002-12-19 12:04:30 +00:00