I've attached my WIP diff of moving sqlite3 to ports. Still to be
done: fix www/firefox-esr and mail/mozilla-thunderbird, they don't
find the header in /usr/local/include for some (but not all) of
the files that use it.

Notes:

- lemon is gone, it's not in the autoconf tarball. If somebody needs
it for something, they can port it separately later.

- the tcl module moves to databases/sqlite3-tcl, same source tar but
it's in a different directory. It could alternatively be done with
some post-configure/post-build steps in the main port but I think
I like it better this way.

Any concerns in general?

If anyone wants to actually try it (or if you feel like helping out
by trying to fix those two mozilla ports), as well as removing the
headers/libraries/binaries you need to remove the pkg-config file;
here are the files to remove:

/usr/bin/sqlite3
/usr/include/sqlite3.h
/usr/include/sqlite3ext.h
/usr/lib/libsqlite3.a
/usr/lib/libsqlite3.so.*
/usr/lib/libsqlite3_p.a
/usr/lib/pkgconfig/sqlite3.pc
/usr/libdata/perl5/site_perl/amd64-openbsd/sqlite3.ph
/usr/libdata/perl5/site_perl/amd64-openbsd/sqlite3ext.ph
/usr/share/man/man1/sqlite3.1

(Obviously if you try this, anything linking the old sqlite lib
will break, you'll need to build new packages).

Diffstat:

 audio/glyr/Makefile                                |    2 
 audio/gogglesmm/Makefile                           |    3 
 audio/libgpod/Makefile                             |    7 -
 audio/mpd/Makefile                                 |    3 
 audio/xmms2/Makefile                               |    3 
 databases/Makefile                                 |    1 
 databases/dbic++/Makefile                          |    3 
 databases/ksql/Makefile                            |    7 +
 databases/libdbi-drivers/Makefile                  |    4 
 databases/libzdb/Makefile                          |    5 
 databases/luadbi/Makefile                          |    5 
 databases/luasqlite3/Makefile                      |    6 -
 databases/ocaml-sqlite3/Makefile                   |    4 
 databases/p5-DBD-SQLite/Makefile                   |    4 
 databases/py-apsw/Makefile                         |    6 -
 databases/qt3-sqlite3-plugin/Makefile              |    3 
 databases/ruby-do_sqlite3/Makefile                 |    2 
 databases/ruby-sqlite3/Makefile                    |    5 
 databases/ruby-swift-db-mysql/Makefile             |    1 
 databases/ruby-swift-db-sqlite3/Makefile           |    4 
 databases/sqlite3-tcl/Makefile                     |   41 ++++++++
 databases/sqlite3-tcl/distinfo                     |    2 
 databases/sqlite3-tcl/pkg/DESCR                    |    1 
 databases/sqlite3-tcl/pkg/PLIST                    |    6 +
 databases/sqlite3/Makefile                         |   77 +++------------
 databases/sqlite3/distinfo                         |    4 
 databases/sqlite3/patches/patch-Makefile_in        |  107 ---------------------
 databases/sqlite3/patches/patch-src_pthread_stub_c |   32 ------
 databases/sqlite3/patches/patch-src_sqliteInt_h    |   60 -----------
 databases/sqlite3/patches/patch-src_sqlite_h_in    |   29 -----
 databases/sqlite3/patches/patch-src_utf_c          |   18 ---
 databases/sqlite3/pkg/DESCR                        |    6 +
 databases/sqlite3/pkg/DESCR-lemon                  |    1 
 databases/sqlite3/pkg/DESCR-main                   |    6 -
 databases/sqlite3/pkg/DESCR-tcl                    |    1 
 databases/sqlite3/pkg/PLIST                        |   10 +
 databases/sqlite3/pkg/PLIST-lemon                  |    4 
 databases/sqlite3/pkg/PLIST-main                   |   11 --
 databases/sqlite3/pkg/PLIST-tcl                    |    5 
 databases/sqlitebrowser/Makefile                   |    2 
 databases/tdbc-sqlite3/Makefile                    |    7 -
 devel/cvstrac/Makefile                             |    3 
 devel/kyua-cli/Makefile                            |    4 
 devel/libsoup/Makefile                             |    4 
 devel/monotone/Makefile                            |    4 
 devel/qt-creator/Makefile                          |    1 
 devel/rapidsvn/Makefile                            |    5 
 devel/subversion/Makefile                          |    9 +
 games/choria/Makefile                              |    6 -
 games/choria/files/FindSqlite.cmake                |   50 +++++++++
 games/choria/patches/patch-CMakeLists_txt          |   16 +++
 games/flightgear/base/Makefile                     |    4 
 games/gcompris/Makefile                            |    2 
 games/minetest/Makefile                            |    2 
 games/pokerth/Makefile                             |    3 
 games/stone-soup/Makefile                          |    5 
 games/xmoto/Makefile                               |    3 
 geo/foxtrotgps/Makefile                            |    3 
 geo/gdal/Makefile                                  |    2 
 geo/mapcache/Makefile                              |    2 
 geo/merkaartor/Makefile                            |    5 
 geo/postgis/Makefile                               |    5 
 geo/qgis/Makefile                                  |    3 
 geo/spatialite/gis/Makefile                        |    3 
 geo/spatialite/gui/Makefile                        |    3 
 geo/spatialite/librasterlite/Makefile              |    3 
 geo/spatialite/librasterlite2/Makefile             |    3 
 geo/spatialite/librewms/Makefile                   |    3 
 geo/spatialite/libspatialite/Makefile              |    2 
 geo/spatialite/tools/Makefile                      |    2 
 geo/viking/Makefile                                |    2 
 graphics/colord/Makefile                           |    2 
 graphics/mapnik/Makefile                           |    2 
 lang/io/Makefile                                   |    3 
 lang/jimtcl/Makefile                               |    5 
 lang/pypy/Makefile                                 |    3 
 lang/python/2.7/Makefile                           |    2 
 lang/python/3.4/Makefile                           |    2 
 lang/python/3.5/Makefile                           |    2 
 lang/python/Makefile.inc                           |    1 
 lang/seed7/Makefile                                |    2 
 mail/bogofilter/Makefile                           |    2 
 mail/courier-authlib/Makefile                      |    4 
 mail/dovecot/Makefile                              |    5 
 mail/dspam/Makefile                                |    7 -
 mail/opensmtpd-extras/Makefile                     |    2 
 mail/postfix/Makefile.inc                          |    1 
 mail/postfix/snapshot/Makefile                     |    1 
 mail/postfix/stable/Makefile                       |    1 
 mail/rspamd/Makefile                               |    4 
 multimedia/mediatomb/Makefile                      |    3 
 multimedia/minidlna/Makefile                       |    3 
 multimedia/motion/Makefile                         |    5 
 net/filezilla/Makefile                             |    5 
 net/freeradius3/Makefile                           |    3 
 net/hpodder/Makefile                               |    5 
 net/ircd-ratbox/Makefile                           |    4 
 net/libaccounts-glib/Makefile                      |    5 
 net/ntopng/Makefile                                |    2 
 net/owncloudclient/Makefile                        |    2 
 net/pidgin-sipe/Makefile                           |    3 
 net/pmacct/Makefile                                |    5 
 net/poco/Makefile                                  |    3 
 net/powerdns/Makefile                              |    2 
 net/seafile/ccnet/Makefile                         |    2 
 net/seafile/client/Makefile                        |    4 
 net/seafile/seafile/Makefile                       |    2 
 net/telepathy/telepathy-logger/Makefile            |    4 
 net/zabbix/Makefile                                |    2 
 productivity/akonadi/Makefile                      |    5 
 security/aircrack-ng/Makefile                      |    3 
 security/cvechecker/Makefile                       |    4 
 security/cyrus-sasl2/Makefile                      |    4 
 security/john-jumbo/Makefile                       |    5 
 security/libfprint/Makefile                        |    5 
 security/nss/Makefile                              |    4 
 security/opendnssec/Makefile                       |    2 
 security/softhsm/Makefile                          |    7 -
 security/yubiserve/Makefile                        |    1 
 shells/nsh/Makefile                                |    9 +
 sysutils/bacula/Makefile                           |    3 
 telephony/asterisk/Makefile                        |    3 
 textproc/link-grammar/Makefile                     |    5 
 textproc/redland/Makefile                          |    4 
 textproc/zathura/core/Makefile                     |    5 
 www/aria2/Makefile                                 |    4 
 www/kcaldav/Makefile                               |    3 
 www/kcaldav/patches/patch-Makefile                 |   34 +++++-
 www/mongrel2/Makefile                              |    5 
 www/newsbeuter/Makefile                            |    5 
 x11/gnome/gedit-plugins/Makefile                   |    5 
 x11/gnome/nautilus/Makefile                        |    1 
 x11/gnustep/gworkspace/Makefile                    |    4 
 x11/gnustep/sqlclient/Makefile                     |    5 
 x11/pinot/Makefile                                 |    3 
 x11/qt4/Makefile                                   |    3 
 x11/qt5/Makefile                                   |    3 
 x11/xfce4/thunar-vcs/Makefile                      |    4 
 138 files changed, 484 insertions(+), 449 deletions(-)

Attachment: sqlite-ports.diff.gz
Description: application/gunzip

Reply via email to