pkgsrc/archivers
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
..
9e Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
advancecomp Kill trailing whitespace. 2005-04-15 04:52:17 +00:00
afio Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
arc Make this package build with gcc-4. 2005-05-08 05:45:42 +00:00
arj Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
bicom Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
bunzip Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
bzip2 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
cabextract Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
cxunzip Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
dact Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
dar Removed trailing whitespace. 2005-05-23 06:50:56 +00:00
fastjar Finish a compound statement properly to make this package build on 2005-05-17 14:54:57 +00:00
file-roller Replaced USE_PERL5 with USE_TOOLS. 2005-05-25 22:37:37 +00:00
freeze Sorted PLIST to make pkglint happy. 2005-05-23 06:58:40 +00:00
gcpio Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
gsharutils Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
gtar Removed an extra empty line. 2005-05-23 08:11:44 +00:00
gtar-base Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
gtar-info Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
gzip Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
gzip-base Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
gzip-info Removed extra newline. 2005-05-23 07:30:03 +00:00
gzrecover Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
ha Removed trailing whitespace. 2005-05-23 08:12:43 +00:00
hpack Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jamjar Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
lbrate Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
lcab Add RMD160 digests in addition to SHA1 ones. 2005-02-23 14:45:22 +00:00
lha Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
libarchive Reformatted to get rid of trailing whitespace. 2005-05-23 08:04:06 +00:00
libcomprex Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
liblzo Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
lzop Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
macutil Sorted PLIST. 2005-05-23 08:04:27 +00:00
makeself Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be 2005-03-24 21:12:50 +00:00
mousetar Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
mscompress Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
nomarch Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
nulib2 Removed trailing whitespace. 2005-05-23 08:12:43 +00:00
p5-Archive-Tar Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Archive-Zip Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Compress-Bzip2 Removed an empty line. 2005-05-24 13:39:23 +00:00
p7zip Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
par2 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
pax Changed values of some variables to "yes" instead of #defined. 2005-05-31 21:39:29 +00:00
pbzip2 Removed deleted patch-aa from distinfo. 2005-05-10 00:01:43 +00:00
pdbar Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
php-bz2 Removed an empty line. 2005-05-24 13:39:23 +00:00
php-zip Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
php-zlib Removed an empty line. 2005-05-24 13:39:23 +00:00
ppmd Undefine _POSIX_SOURCE temporarily because Darwin's fnmatch.h does not 2005-04-02 16:24:40 +00:00
ppunpack Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
rar Removed trailing white-space. 2005-05-25 22:51:15 +00:00
rar-linux Change PKGNAME to rar-linux, to match directory name. 2005-05-31 20:48:17 +00:00
rzip Removed trailing whitespace. 2005-05-23 08:12:43 +00:00
squsq Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
star Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
stuffit Replaced #defined with "yes" in NO_CONFIGURE and NO_BUILD. 2005-05-25 22:52:53 +00:00
szip Changes 2.0: 2005-02-24 16:20:25 +00:00
unace Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
unace22 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 14:45:22 +00:00
unalz Use const char*, instead of char*, for the second parameter of iconv() 2005-05-17 16:11:42 +00:00
unarj Replaced #defined with "yes" in NO_CONFIGURE. 2005-05-25 22:53:26 +00:00
undms Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
unlzx Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
unrar Update to 3.5.2, changes unknown. 2005-05-21 15:30:06 +00:00
unzip Removed trailing whitespace. 2005-05-23 08:12:43 +00:00
unzoo Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
upx Converted USE_PERL5 to USE_TOOLS. 2005-05-25 22:53:55 +00:00
xbin Removed trailing whitespace. 2005-05-23 08:12:43 +00:00
xmill Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
xpk Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
zip Removed an empty line. 2005-05-24 13:24:52 +00:00
zip1 Removed an empty line. 2005-05-24 13:24:52 +00:00
zoo Removed trailing empty line from patch-ai. 2005-05-21 11:35:01 +00:00
zziplib Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
Makefile Added archivers/libarchive. 2005-02-02 18:02:39 +00:00