pkgsrc/databases
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
..
abook Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
acid Removed trailing white-space. 2005-05-23 08:26:03 +00:00
adodb Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
bdb-xml Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
cdb Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
db Remove USE_TOOLS+=gawk from packages that had it added solely for Solaris. 2005-05-22 22:06:28 +00:00
db3 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
db4 Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a 2005-05-31 10:01:36 +00:00
dbh Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
edb Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
freetds Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
gdbm Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
gdbm_primitive Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
geneweb Sort lines for pkglint. 2005-05-29 07:45:32 +00:00
gnats Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
gnome-mime-data Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
gq Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
gramps update to 1.0.11 2005-04-26 21:19:06 +00:00
gtksql Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
guile-pg Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
iodbc Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
java-db3 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jdb Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jdbc-postgresql Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
jdbc-postgresql74 Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
kmysqladmin Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
lbdb Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
libgda Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
libgda-postgres reset PKGREVISION as we got a new version 2005-02-25 17:22:43 +00:00
libgda-sqlite needs sqlite3 now 2005-04-18 18:25:41 +00:00
libgnomedb Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
libpqxx Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
libpqxx-doc libpqxx-doc-2.1.3, documentation for libpqxx 2004-01-07 13:38:28 +00:00
lua-sqlite Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
mergeant Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
metakit-lib Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
myodbc Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
mysql-client Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
mysql-server RCD_SCRIPTS_EXAMPLEDIR is no longer customizable. 2005-05-02 20:33:57 +00:00
mysql4-client Update mysql4-* to 4.1.12. 2005-05-23 14:00:20 +00:00
mysql4-server Add build dependency on readline to keep configure happy on platforms that 2005-06-01 13:07:42 +00:00
mysqlcc Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
mytop Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
odbc-postgresql Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
openldap Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a 2005-05-31 10:01:36 +00:00
oraedit Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:33:05 +00:00
p5-AddressBook Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Apache-DBI Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-BerkeleyDB Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Class-DBI Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Class-DBI-AbstractSearch Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-DB_File Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-DBD-CSV Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-DBD-Google Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-DBD-mysql Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-DBD-Oracle Add RMD160 checksum. 2005-05-25 11:34:41 +00:00
p5-DBD-postgresql Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-DBD-SQLite Upgrade to 1.08: 2005-04-16 01:10:23 +00:00
p5-DBD-Sybase Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-DBD-XBase Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-DBI Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-DBI-Shell Removed trailing white-space. 2005-05-23 08:26:03 +00:00
p5-DBIWrapper Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-DBIx-ContextualFetch Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-DBIx-Datasource Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-DBIx-SearchBuilder Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-gdbm Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Ima-DBI Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-MARC Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-MLDBM PERL5_PKGSRCDIR isn't defined when using the new tools framework. Replace 2005-05-19 15:26:03 +00:00
p5-MLDBM-Sync Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-Palm Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-perl-ldap Update to version 0.3202 as package version 0.32.02. 2005-05-15 17:12:09 +00:00
p5-postgresql Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-SQL-Abstract Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-SQL-Statement Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
p5-sybperl Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
pear-DB - Import of pear-DB 2005-05-18 19:56:06 +00:00
pgaccess Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:33:05 +00:00
pgpool Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
php-dba Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
php-dbase Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
php-dbx Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
php-filepro Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
php-ldap Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
php-mssql Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
php-mysql Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
php-odbc Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
php-pgsql Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
php5-mysqli Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
php5-sqlite Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
phpldapadmin - Update to nb1 2005-05-23 22:01:42 +00:00
phpmyadmin Removed trailing white-space. 2005-05-23 08:26:03 +00:00
phppgadmin Removed trailing white-space. 2005-05-23 08:26:03 +00:00
postgresql73 Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
postgresql73-client Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
postgresql73-docs Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
postgresql73-lib Note that gtar is required by the package. 2005-05-16 01:15:30 +00:00
postgresql73-plperl For packages that use GNU configure, don't bother adding "TOOL" 2005-05-22 05:35:32 +00:00
postgresql73-pltcl Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
postgresql73-server Rename option PAM to pam (so all options are lower case). Backwards 2005-05-31 11:24:32 +00:00
postgresql74 Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
postgresql74-client Note that tar is required by this package. 2005-05-16 01:32:22 +00:00
postgresql74-contrib Update PostgreSQL 7.4 packages to 7.4.5. Changes are mostly reliability fixes. 2004-10-10 07:30:22 +00:00
postgresql74-docs Note that tar is required by this package. 2005-05-16 01:32:22 +00:00
postgresql74-lib Note that tar is required by this package. 2005-05-16 01:32:22 +00:00
postgresql74-plperl Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
postgresql74-plpython Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
postgresql74-server Rename option PAM to pam (so all options are lower case). Backwards 2005-05-31 11:24:32 +00:00
postgresql80 Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
postgresql80-client fix PLIST for NetBSD - should be handled automatically for other systems 2005-04-13 15:36:56 +00:00
postgresql80-server Rename option PAM to pam (so all options are lower case). Backwards 2005-05-31 11:24:32 +00:00
pxtools Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
py-bdb-xml Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
py-bsddb3 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
py-gdbm Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
py-IndexedCatalog Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
py-ldap Removed unnecessary ${WRKSRC} from SUBST_FILES. 2005-05-20 20:13:56 +00:00
py-metakit Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
py-mysqldb Remove 30 from MYSQL_VERSIONS_ACCEPTED, since mysql3 packages have been removed. 2005-04-26 13:28:26 +00:00
py-pgnotify Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
py-PgSQL Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
py-postgresql Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
py-psycopg Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
py-sqlite Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
py-sybase Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
py-table Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
py-ZODB Removed trailing white-space. 2005-05-23 08:26:03 +00:00
quicklist Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
rdb Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:33:05 +00:00
rrdtool Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
ruby-activerecord Import ruby-activerecord. 2005-04-10 04:45:59 +00:00
ruby-dbm Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
ruby-gdbm Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
ruby-mysql Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
ruby-postgresql - Update HOMEPAGE. 2005-04-12 14:49:46 +00:00
ruby-vapor Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
sdbm Add buildlink3 file. 2005-04-05 10:24:41 +00:00
shared-mime-info Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
sqlite Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
sqlite3 Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
sqlite3-tcl Initial import of sqlite3-tcl, version 3.1.3: 2005-03-23 22:09:50 +00:00
sqlitemanager Removed trailing white-space. 2005-05-23 08:26:03 +00:00
sqlrelay Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
sqsh Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
sqsh-motif Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 2004-10-03 00:12:51 +00:00
sqsh-x11 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
tcl-fbsql Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tcl-gdbm Removed trailing white-space. 2005-05-23 08:26:03 +00:00
tcl-postgresql73 Note that gtar is required by the package. 2005-05-16 01:15:30 +00:00
tcl-postgresql74 Note that gtar is required by the package. 2005-05-16 01:15:30 +00:00
tdb Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: 2005-05-22 20:07:36 +00:00
tk-postgresql73 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
unixodbc Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
unixodbc-DataManager Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
unixodbc-ODBCConfig Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
xmysql Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
xmysqladmin Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
xsqlmenu Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. 2005-06-01 18:02:37 +00:00
yasql Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
zope-mysql 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