The p5-DBD-SQLite port has DBI drivers for the SQLite 3 format database while the p5-DBD-SQLite2 port has drivers for the SQLite 2 format. Unfortunately, the Makefile COMMENT and pkg/DESCR file for these ports are misleading or wrong about the above.
Here's a patch that fixes these ports: Script started on Fri Sep 23 06:33:59 2005 a8v:usr/ports 501>cvs -d ${CVSROOT} diff -uN /usr/ports/databases/p5-DBD-SQLite* cvs diff: Diffing /usr/ports/databases/p5-DBD-SQLite Index: /usr/ports/databases/p5-DBD-SQLite/Makefile =================================================================== RCS file: /pub/cvsroot/OpenBSD/ports/databases/p5-DBD-SQLite/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- /usr/ports/databases/p5-DBD-SQLite/Makefile 30 May 2005 20:37:36 -0000 1.5 +++ /usr/ports/databases/p5-DBD-SQLite/Makefile 23 Sep 2005 09:08:35 -0000 @@ -2,7 +2,7 @@ NOT_FOR_ARCHS= ${NO_SHARED_ARCHS} -COMMENT= 'SQLite drivers for the Perl DBI' +COMMENT= 'SQLite 3.0 drivers for the Perl DBI' DISTNAME= DBD-SQLite-1.08 PKGNAME= p5-${DISTNAME} cvs diff: Diffing /usr/ports/databases/p5-DBD-SQLite/pkg Index: /usr/ports/databases/p5-DBD-SQLite/pkg/DESCR =================================================================== RCS file: /pub/cvsroot/OpenBSD/ports/databases/p5-DBD-SQLite/pkg/DESCR,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 DESCR --- /usr/ports/databases/p5-DBD-SQLite/pkg/DESCR 8 Apr 2004 21:02:33 -0000 1.1.1.1 +++ /usr/ports/databases/p5-DBD-SQLite/pkg/DESCR 23 Sep 2005 09:13:41 -0000 @@ -1,7 +1,7 @@ -DBD::SQLite is the Perl5 Database Interface driver for the SQLite +DBD::SQLite is the Perl5 Database Interface driver for the SQLite 3.0 database. In other words: DBD::SQLite is an interface between the Perl -programming language and the SQLite programming API that comes with +programming language and the SQLite 3.0 programming API that comes with the SQLite Embeddable database management system. Most functions provided by the respective programming API's are supported. cvs diff: Diffing /usr/ports/databases/p5-DBD-SQLite2 Index: /usr/ports/databases/p5-DBD-SQLite2/Makefile =================================================================== RCS file: /pub/cvsroot/OpenBSD/ports/databases/p5-DBD-SQLite2/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- /usr/ports/databases/p5-DBD-SQLite2/Makefile 27 May 2005 21:38:51 -0000 1.2 +++ /usr/ports/databases/p5-DBD-SQLite2/Makefile 23 Sep 2005 09:09:23 -0000 @@ -2,7 +2,7 @@ NOT_FOR_ARCHS= ${NO_SHARED_ARCHS} -COMMENT= 'SQLite3 drivers for the Perl DBI' +COMMENT= 'SQLite 2.0 drivers for the Perl DBI' DISTNAME= DBD-SQLite2-0.33 PKGNAME= p5-${DISTNAME} cvs diff: Diffing /usr/ports/databases/p5-DBD-SQLite2/pkg Index: /usr/ports/databases/p5-DBD-SQLite2/pkg/DESCR =================================================================== RCS file: /pub/cvsroot/OpenBSD/ports/databases/p5-DBD-SQLite2/pkg/DESCR,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 DESCR --- /usr/ports/databases/p5-DBD-SQLite2/pkg/DESCR 2 Dec 2004 21:32:03 -0000 1.1.1.1 +++ /usr/ports/databases/p5-DBD-SQLite2/pkg/DESCR 23 Sep 2005 09:09:46 -0000 @@ -1,7 +1,7 @@ -DBD::SQLite2 is the Perl5 Database Interface driver for the SQLite3 +DBD::SQLite2 is the Perl5 Database Interface driver for the SQLite 2.0 database. In other words: DBD::SQLite2 is an interface between the Perl -programming language and the SQLite3 programming API that comes with +programming language and the SQLite 2.0 programming API that comes with the SQLite Embeddable database management system. Most functions provided by the respective programming API's are supported. a8v:usr/ports 502>exit exit Script done on Fri Sep 23 06:34:23 2005