pkgsrc/emulators
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
..
aliados Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
aranym Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
arcem Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
arnold Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
atari800 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
BasiliskII Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
blinkensim Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
bochs Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
compat11
compat12 Set NO_BUILD and NO_MTREE to yes instead of #defined. 2005-05-23 09:27:48 +00:00
compat13 Prevent warnings during bulk dependency tree creation for ports that 2005-04-15 18:40:50 +00:00
compat14 Add RMD160 checksum. 2005-05-25 11:55:27 +00:00
compat14-crypto Add RMD160 checksum. 2005-05-25 11:55:27 +00:00
compat16 Fix ONLY_FOR_PLATFORM line. 2005-03-23 10:55:28 +00:00
Cygne-SDL Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
cygwin_esound Add RMD160 checksum. 2005-05-25 11:55:27 +00:00
cygwin_lib Replaced $f with ${f}. 2005-05-23 09:28:40 +00:00
darcnes Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
darwin_lib Set NO_BUILD to yes instead of 1. 2005-05-23 09:29:08 +00:00
DatLib Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
DatUtil Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
dega Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
dgen Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
dosbox Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
doscmd Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
fceu Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
fmsx Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
freebsd_lib Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
fuse Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
fuse-utils Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
gcube Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
generator Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
gens Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
gnuboy Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
gnuboy-sdl Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
gpsim Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
gpsim-devel Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
gpsim-oscilloscope Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
gpsim-ptyusart Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
gxemul Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
hatari Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
hercules Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
hercules-images Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
ia64sim Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
libspectrum For packages that use GNU configure, don't bother adding "TOOL" 2005-05-22 05:35:32 +00:00
linuxppc_lib Note that gtar is required by the package. 2005-05-16 01:15:30 +00:00
lrmi Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
m1 Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
MAMEDiff Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
minivmac Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
mmix Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
NeoPop-SDL Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
netbsd32_compat14 Fix ONLY_FOR_PLATFORM line. 2005-03-23 10:55:28 +00:00
netbsd32_compat15 Add RMD160 checksum. 2005-05-25 11:55:27 +00:00
netbsd32_compat16 Fix ONLY_FOR_PLATFORM line. 2005-03-23 10:55:28 +00:00
openmsx Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
osf1_lib Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
p11 Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
palmosemulator Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
pcemu Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
peace Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
pearpc Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
qemu Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
raine Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
ROMBuild Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
ROMInfo Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
simh Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
simulavr Removed trailing white-space. 2005-05-23 08:26:03 +00:00
snes9x Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
spim Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
stella Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
suse91_aspell Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse91_base Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse91_compat Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse91_expat Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse91_fontconfig Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse91_freetype2 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse91_glx add dependency on suse_x11 2005-05-15 16:44:33 +00:00
suse91_gtk Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse91_gtk2 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse91_libjpeg Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse91_libpng Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse91_libtiff Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse91_linux put definition of SUSE_VERSION and SUSE_DIR_PREFIX into separate file 2005-04-03 21:23:15 +00:00
suse91_locale Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse91_openmotif Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse91_slang Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse91_vmware Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse91_x11 Update to latest available version 4.3.99.902-43.42.5 2005-05-12 06:12:51 +00:00
suse_audio Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse_base Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse_compat Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse_devel Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse_fileutils Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
suse_freetype2 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse_glx Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse_gtk Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse_libc5 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse_libjpeg Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse_libpng Add RMD160 checksum. 2005-05-25 11:55:27 +00:00
suse_libtiff Add RMD160 checksum. 2005-05-25 11:55:27 +00:00
suse_linux Remove unused variables. 2005-04-28 22:33:36 +00:00
suse_openmotif Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse_slang Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse_vmware Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse_x11 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
suse_xforms Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
swarm Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
tme Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
tuxnes Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
twin Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
uae Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
uips Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
vba Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
vice Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
vmware Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
vmware-module Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
vmware-module3 Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
vmware3 Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
wine Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
winelib Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
x48 Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
xbeeb Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
xcopilot Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
xm7 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
xmame Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
xmess Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
xtrs Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
xyame Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
ZIPIdent Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
zsnes 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