pkgsrc/chat
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
..
aim Back out last change. ./ is not correct, but this is a workaround due too 2005-05-16 15:07:32 +00:00
amsn Removed trailing white-space. 2005-05-23 08:26:03 +00:00
bitchbot Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
bitchx Convert to options framework. 2005-05-31 16:28:54 +00:00
bitlbee Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
blackened Add RMD160 digests in addition to SHA1 ones 2005-02-23 15:59:10 +00:00
bnc Removed trailing white-space. 2005-05-23 08:26:03 +00:00
bsflite Removed trailing white-space. 2005-05-23 08:26:03 +00:00
centericq Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
cgiirc Removed trailing white-space. 2005-05-23 08:59:46 +00:00
dccserver Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
dircproxy RCD_SCRIPTS_EXAMPLEDIR is no longer customizable. 2005-05-02 20:33:57 +00:00
dircproxy-devel RCD_SCRIPTS_EXAMPLEDIR is no longer customizable. 2005-05-02 20:33:57 +00:00
eggdrop Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
ekg Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
emech Add RMD160 digests in addition to SHA1 ones 2005-02-23 15:59:10 +00:00
epic4 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
epic4-doc Update to latest tarball dated 20050313. About two years (or more) 2005-04-04 09:10:50 +00:00
fisg Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
fugu Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
gaim Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
gaim-encryption Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
gaim-otr Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
gale Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
gg2 Changes 2.2.6: 2005-05-27 13:47:05 +00:00
gnomeicu Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
goofey Removed trailing empty line. Set NO_CONFIGURE=yes instead of #defined. 2005-05-23 09:01:45 +00:00
gossip Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
gtkyahoo Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
gtmess Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
i2cb Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
i2cbd Replaced $f with ${f}. 2005-05-23 09:03:12 +00:00
icb Removed trailing empty line. 2005-05-23 09:04:00 +00:00
icbirc Moved WRKSRC some lines down. Replaced $f with ${f}. 2005-05-23 09:04:56 +00:00
icqlib Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
ircd-hybrid RCD_SCRIPTS_EXAMPLEDIR is no longer customizable. 2005-05-02 20:33:57 +00:00
irchat-pj Removed an empty line. 2005-05-24 13:54:50 +00:00
ircII Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
ircservices Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
ircu Fixed the patch for stripping debugging flags. 2005-05-12 11:09:09 +00:00
iroffer Add RMD160 digests in addition to SHA1 ones 2005-02-23 15:59:10 +00:00
irssi Convert to options framework. 2005-05-31 21:58:38 +00:00
irssi-icb Removed unnecessary ${.CURDIR}. 2005-05-23 09:06:24 +00:00
jabberd Add RMD160 checksum. 2005-05-25 11:31:56 +00:00
jabberd2 Rename option PAM to pam (so all options are lower case). Backwards 2005-05-31 11:24:32 +00:00
kadu Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
kmess Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
libirc Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
libotr Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
libtlen Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
libyahoo Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
licq-core Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
licq-gui-console Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
licq-gui-qt Removed trailing white-space. 2005-05-23 08:26:03 +00:00
loudmouth Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
micq Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
msnre Removed empty line. Fixed MASTER_SITES definition. 2005-05-23 09:09:35 +00:00
mu-conference Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
naim Update to 0.11.7.3: 2005-04-28 13:36:02 +00:00
navi2ch Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
ninja Convert to options framework. 2005-05-31 22:00:37 +00:00
p5-Net-AIM Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Net-AOLIM Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Net-Goofey Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Net-ICQ2000 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Net-Jabber Removed an empty line. 2005-05-24 13:54:50 +00:00
pircbot Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
psi Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
quirc Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
riece Update riece to 1.0.7a. 2005-03-05 09:14:11 +00:00
roxirc Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
scrollz Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
ser Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
silc-client Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a 2005-05-31 10:01:36 +00:00
silc-client-icb Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
silc-server Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a 2005-05-31 10:01:36 +00:00
sirc Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tik Add RMD160 digests in addition to SHA1 ones 2005-02-23 15:59:10 +00:00
tirc Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tkicb Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tkirc Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tkirc2 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tzc Removed an empty line. 2005-05-24 13:54:50 +00:00
vicq Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
weechat Added RCS Id to patch-ac. 2005-05-24 15:50:26 +00:00
xaric Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
xchat Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
xchat-systray-integration Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
xchat2 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
ymessenger Back out last change. ./ is not correct, but this is a workaround due too 2005-05-16 15:07:32 +00:00
ysm Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
zenicb We need to explicitly set PKGNAME to work around a problem in xemacs' Makefile.pkg. 2005-04-02 22:01:36 +00:00
zenirc Add RMD160 digests in addition to SHA1 ones 2005-02-23 15:59:10 +00:00
zephyr Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
zephyr-mode Replaced empty do-build target with NO_BUILD=yes. 2005-05-24 14:04:15 +00:00
zircon Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
Makefile Remove gnome1 packages except as needed for gnucash. 2005-05-18 22:02:17 +00:00