summaryrefslogtreecommitdiff
path: root/databases/sqlite34
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2008-02-24 03:11:57 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2008-02-24 03:11:57 +0000
commitfa4a943c17e47bf910596a414fd7287983350b9b (patch)
treedc76cec18a505befc330e612e0a56bf1caa5ca49 /databases/sqlite34
parent- Fix manpage pointing to correct PREFIX for binary and conf (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_7_0_0'.release/7.0.0
Diffstat (limited to 'databases/sqlite34')
-rw-r--r--databases/sqlite34/Makefile130
-rw-r--r--databases/sqlite34/distinfo3
-rw-r--r--databases/sqlite34/files/example.tcl14
-rw-r--r--databases/sqlite34/files/fts12_patch-Makefile.in75
-rw-r--r--databases/sqlite34/files/fts1_patch-Makefile.in31
-rw-r--r--databases/sqlite34/files/fts2_patch-Makefile.in62
-rw-r--r--databases/sqlite34/files/patch-Makefile.in22
-rw-r--r--databases/sqlite34/files/patch-ext__fts1__fts1.c14
-rw-r--r--databases/sqlite34/files/patch-ext__fts1__fts1_porter.c14
-rw-r--r--databases/sqlite34/files/patch-ext__fts1__fts1_tokenizer1.c14
-rw-r--r--databases/sqlite34/files/patch-ext__fts2__fts2.c12
-rw-r--r--databases/sqlite34/files/patch-ext__fts2__fts2_porter.c14
-rw-r--r--databases/sqlite34/files/patch-ext__fts2__fts2_tokenizer1.c14
-rw-r--r--databases/sqlite34/files/pkgIndex.tcl1
-rw-r--r--databases/sqlite34/pkg-descr7
-rw-r--r--databases/sqlite34/pkg-plist19
16 files changed, 0 insertions, 446 deletions
diff --git a/databases/sqlite34/Makefile b/databases/sqlite34/Makefile
deleted file mode 100644
index 7d255af7d8b0..000000000000
--- a/databases/sqlite34/Makefile
+++ /dev/null
@@ -1,130 +0,0 @@
-# New ports collection makefile for: sqlite3
-# Date created: Feb 21, 2001
-# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= sqlite3
-PORTVERSION= 3.4.1
-CATEGORIES= databases
-MASTER_SITES= http://www.sqlite.org/
-.if defined(USE_THOL)
-PKGNAMESUFFIX= -threads
-.endif
-DISTNAME= sqlite-${PORTVERSION}
-
-MAINTAINER= mnag@FreeBSD.org
-COMMENT?= An SQL database engine in a C library w/ Tcl wrapper
-
-SLAVEDIRS= databases/sqlite3-threads
-
-USE_GMAKE= YES
-USE_GNOME= pkgconfig
-USE_AUTOTOOLS= libtool:15
-USE_DOS2UNIX= *.pc.in
-USE_LDCONFIG= YES
-GNU_CONFIGURE= YES
-CONFIGURE_ARGS= --prefix=${PREFIX} --with-hints=freebsd.hints
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
-OPTIONS= DEBUG "Enable debugging & verbose explain" off \
- DOCS "Building docs (depends on TCL)" on \
- FTS1 "Enable FTS1 (Full Text Search) module" off \
- FTS2 "Enable FTS2 (Full Text Search) module" off \
- TCLWRAPPER "TCL wrapper for SQLITE" off
-
-# Defaults, for building the docs:
-TCL_V?= 8.4
-MAKE_ARGS+= TCLSH=tclsh${TCL_V}
-MAKE_ENV+= TCL_VER=${TCL_V}
-
-.if !defined(USE_THOL)
-OPTIONS+= THREADS "Enable threads support" off
-PLIST_SUB+= THOL="@comment "
-CONFLICTS= sqlite-threads-3*
-.else
-CONFIGURE_ARGS+= --enable-threadsafe --enable-threads-override-locks
-PLIST_SUB+= THOL=""
-CONFLICTS= sqlite-3*
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_DEBUG)
-CONFIGURE_ARGS+= --enable-debug
-.endif
-
-.if !defined(NOPORTDOCS) && !defined(WITHOUT_DOCS)
-BUILD_DEPENDS+= tclsh${TCL_V}:${PORTSDIR}/lang/tcl${TCL_V:S/.//}
-ALL_TARGET+= all doc
-PORTDOCS= *
-.endif
-
-.if defined(WITH_FTS1) && defined(WITH_FTS2)
-CFLAGS+= -DSQLITE_ENABLE_FTS1 -DSQLITE_ENABLE_FTS2
-EXTRA_PATCHES+= ${FILESDIR}/fts12_patch-Makefile.in
-.elif defined(WITH_FTS1) && !defined(WITH_FTS2)
-CFLAGS+= -DSQLITE_ENABLE_FTS1
-EXTRA_PATCHES+= ${FILESDIR}/fts1_patch-Makefile.in
-.elif defined(WITH_FTS2) && !defined(WITH_FTS1)
-CFLAGS+= -DSQLITE_ENABLE_FTS2
-EXTRA_PATCHES+= ${FILESDIR}/fts2_patch-Makefile.in
-.endif
-
-.if defined(WITH_TCLWRAPPER)
-CATEGORIES+= lang tcl${TCL_V:S/.//}
-LIB_DEPENDS+= tcl${TCL_V:S/.//}:${PORTSDIR}/lang/tcl${TCL_V:S/.//}
-CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl${TCL_V}
-PLIST_SUB+= WITH_TCLWRAPPER=""
-.else
-CONFIGURE_ARGS+= --disable-tcl
-PLIST_SUB+= WITH_TCLWRAPPER="@comment "
-.endif
-
-.if defined(WITH_THREADS)
-CONFIGURE_ARGS+= --enable-threadsafe
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -E -e "s|^(TLIBS.*)|\1 -lm|g" \
- ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e "s|tclsh \$$(TOP)|\$$(TCLSH) \$$(TOP)|g" \
- -e "s|./libtool|${LIBTOOL}|g" \
- -e "s|--mode=link|--mode=link --tag=CC|g" \
- -e "s|\$${HAVE_TCL:1=tcl_install}||" \
- ${WRKSRC}/Makefile.in
- @${ECHO} "config_TARGET_TCL_INC=\"-I${PREFIX}/include/tcl${TCL_V}\"" \
- > ${WRKSRC}/freebsd.hints
- @${ECHO} "config_TARGET_TCL_LIBS=\"-L${PREFIX}/lib -ltcl${TCL_V:S/.//}\"" \
- >> ${WRKSRC}/freebsd.hints
-
-pre-configure:
-.if defined(WITH_THREADS) || defined(USE_THOL)
- @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
- ${WRKSRC}/configure
- @${REINPLACE_CMD} -E -e "s|(Libs:.*)|\1 ${PTHREAD_LIBS}|" \
- -e "s|(Cflags:.*)|\1 ${PTHREAD_CFLAGS}|" \
- ${WRKSRC}/sqlite.pc.in ${WRKSRC}/sqlite3.pc.in
-.endif
-
-post-install:
-.if defined(WITH_TCLWRAPPER)
- @${MKDIR} ${PREFIX}/lib/sqlite
- @(cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_DATA} \
- libtclsqlite3.la ${PREFIX}/lib/sqlite/)
- @${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/sqlite/
- @${INSTALL_PROGRAM} ${WRKSRC}/.libs/tclsqlite3 ${PREFIX}/bin
- @${MKDIR} ${EXAMPLESDIR}
- @${INSTALL_DATA} ${FILESDIR}/example.tcl ${EXAMPLESDIR}
-.endif
-.if !defined(NOPORTDOCS) && !defined(WITHOUT_DOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
-.endif
-.if defined(USE_THOL)
- @${MKDIR} ${DATADIR}
- @${TOUCH} ${DATADIR}/sqlite3_with_threads-override-locks
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/databases/sqlite34/distinfo b/databases/sqlite34/distinfo
deleted file mode 100644
index 0a33511ac3c0..000000000000
--- a/databases/sqlite34/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (sqlite-3.4.1.tar.gz) = 0f06955b18da295fecb62d4bf9ded3c6
-SHA256 (sqlite-3.4.1.tar.gz) = d604a4db7781db3d8dda0bb30c4a35bbee184d48e72d9c0de855cf55170ee1be
-SIZE (sqlite-3.4.1.tar.gz) = 2237515
diff --git a/databases/sqlite34/files/example.tcl b/databases/sqlite34/files/example.tcl
deleted file mode 100644
index 765c3f9ba715..000000000000
--- a/databases/sqlite34/files/example.tcl
+++ /dev/null
@@ -1,14 +0,0 @@
-package require sqlite
-
-if {$argc!=2} {
- puts stderr "Usage: %s DATABASE SQL-STATEMENT"
- exit 1
-}
-sqlite db [lindex $argv 0]
-db eval [lindex $argv 1] x {
- foreach v $x(*) {
- puts "$v = $x($v)"
- }
- puts ""
-}
-db close
diff --git a/databases/sqlite34/files/fts12_patch-Makefile.in b/databases/sqlite34/files/fts12_patch-Makefile.in
deleted file mode 100644
index bfc34a1f9415..000000000000
--- a/databases/sqlite34/files/fts12_patch-Makefile.in
+++ /dev/null
@@ -1,75 +0,0 @@
---- Makefile.in.orig 2007-06-28 09:46:18.000000000 -0300
-+++ Makefile.in 2007-08-10 08:52:27.000000000 -0300
-@@ -128,7 +128,9 @@
- select.lo table.lo tokenize.lo trigger.lo update.lo \
- util.lo vacuum.lo \
- vdbe.lo vdbeapi.lo vdbeaux.lo vdbeblob.lo vdbefifo.lo vdbemem.lo \
-- where.lo utf.lo legacy.lo vtab.lo
-+ where.lo utf.lo legacy.lo vtab.lo \
-+ fts1.lo fts1_hash.lo fts1_porter.lo fts1_tokenizer1.lo \
-+ fts2.lo fts2_hash.lo fts2_porter.lo fts2_tokenizer.lo fts2_tokenizer1.lo
-
- # All of the source code files.
- #
-@@ -198,6 +200,15 @@
- $(TOP)/ext/fts1/fts1_tokenizer.h \
- $(TOP)/ext/fts1/fts1_tokenizer1.c
-
-+SRC += \
-+ $(TOP)/ext/fts2/fts2.c \
-+ $(TOP)/ext/fts2/fts2.h \
-+ $(TOP)/ext/fts2/fts2_hash.c \
-+ $(TOP)/ext/fts2/fts2_hash.h \
-+ $(TOP)/ext/fts2/fts2_porter.c \
-+ $(TOP)/ext/fts2/fts2_tokenizer.c \
-+ $(TOP)/ext/fts2/fts2_tokenizer.h \
-+ $(TOP)/ext/fts2/fts2_tokenizer1.c
-
- # Source code to the test files.
- #
-@@ -261,6 +272,11 @@
- $(TOP)/ext/fts1/fts1_hash.h \
- $(TOP)/ext/fts1/fts1_tokenizer.h
-
-+HDR += \
-+ $(TOP)/ext/fts2/fts2.h \
-+ $(TOP)/ext/fts2/fts2_hash.h \
-+ $(TOP)/ext/fts2/fts2_tokenizer.h
-+
- # Header files used by the VDBE submodule
- #
- VDBEHDR = \
-@@ -482,6 +498,33 @@
- where.lo: $(TOP)/src/where.c $(HDR)
- $(LTCOMPILE) -c $(TOP)/src/where.c
-
-+fts1.lo: $(TOP)/ext/fts1/fts1.c $(HDR)
-+ $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1.c
-+
-+fts1_hash.lo: $(TOP)/ext/fts1/fts1_hash.c $(HDR)
-+ $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1_hash.c
-+
-+fts1_porter.lo: $(TOP)/ext/fts1/fts1_porter.c $(HDR)
-+ $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1_porter.c
-+
-+fts1_tokenizer1.lo: $(TOP)/ext/fts1/fts1_tokenizer1.c $(HDR)
-+ $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1_tokenizer1.c
-+
-+fts2.lo: $(TOP)/ext/fts2/fts2.c $(HDR)
-+ $(LTCOMPILE) -c $(TOP)/ext/fts2/fts2.c
-+
-+fts2_hash.lo: $(TOP)/ext/fts2/fts2_hash.c $(HDR)
-+ $(LTCOMPILE) -c $(TOP)/ext/fts2/fts2_hash.c
-+
-+fts2_porter.lo: $(TOP)/ext/fts2/fts2_porter.c $(HDR)
-+ $(LTCOMPILE) -c $(TOP)/ext/fts2/fts2_porter.c
-+
-+fts2_tokenizer.lo: $(TOP)/ext/fts2/fts2_tokenizer.c $(HDR)
-+ $(LTCOMPILE) -c $(TOP)/ext/fts2/fts2_tokenizer.c
-+
-+fts2_tokenizer1.lo: $(TOP)/ext/fts2/fts2_tokenizer1.c $(HDR)
-+ $(LTCOMPILE) -c $(TOP)/ext/fts2/fts2_tokenizer1.c
-+
- tclsqlite-shell.lo: $(TOP)/src/tclsqlite.c $(HDR)
- $(LTCOMPILE) -DTCLSH=1 -o $@ -c $(TOP)/src/tclsqlite.c
-
diff --git a/databases/sqlite34/files/fts1_patch-Makefile.in b/databases/sqlite34/files/fts1_patch-Makefile.in
deleted file mode 100644
index a84838c25fef..000000000000
--- a/databases/sqlite34/files/fts1_patch-Makefile.in
+++ /dev/null
@@ -1,31 +0,0 @@
---- Makefile.in.orig 2007-06-14 17:54:38.000000000 -0300
-+++ Makefile.in 2007-07-04 19:24:47.000000000 -0300
-@@ -128,7 +128,8 @@
- select.lo table.lo tokenize.lo trigger.lo update.lo \
- util.lo vacuum.lo \
- vdbe.lo vdbeapi.lo vdbeaux.lo vdbeblob.lo vdbefifo.lo vdbemem.lo \
-- where.lo utf.lo legacy.lo vtab.lo
-+ where.lo utf.lo legacy.lo vtab.lo \
-+ fts1.lo fts1_hash.lo fts1_porter.lo fts1_tokenizer1.lo
-
- # All of the source code files.
- #
-@@ -482,6 +483,18 @@
- where.lo: $(TOP)/src/where.c $(HDR)
- $(LTCOMPILE) -c $(TOP)/src/where.c
-
-+fts1.lo: $(TOP)/ext/fts1/fts1.c $(HDR)
-+ $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1.c
-+
-+fts1_hash.lo: $(TOP)/ext/fts1/fts1_hash.c $(HDR)
-+ $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1_hash.c
-+
-+fts1_porter.lo: $(TOP)/ext/fts1/fts1_porter.c $(HDR)
-+ $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1_porter.c
-+
-+fts1_tokenizer1.lo: $(TOP)/ext/fts1/fts1_tokenizer1.c $(HDR)
-+ $(LTCOMPILE) -c $(TOP)/ext/fts1/fts1_tokenizer1.c
-+
- tclsqlite-shell.lo: $(TOP)/src/tclsqlite.c $(HDR)
- $(LTCOMPILE) -DTCLSH=1 -o $@ -c $(TOP)/src/tclsqlite.c
-
diff --git a/databases/sqlite34/files/fts2_patch-Makefile.in b/databases/sqlite34/files/fts2_patch-Makefile.in
deleted file mode 100644
index b079a8501121..000000000000
--- a/databases/sqlite34/files/fts2_patch-Makefile.in
+++ /dev/null
@@ -1,62 +0,0 @@
---- Makefile.in.orig 2007-06-28 09:46:18.000000000 -0300
-+++ Makefile.in 2007-08-10 08:47:35.000000000 -0300
-@@ -128,7 +128,8 @@
- select.lo table.lo tokenize.lo trigger.lo update.lo \
- util.lo vacuum.lo \
- vdbe.lo vdbeapi.lo vdbeaux.lo vdbeblob.lo vdbefifo.lo vdbemem.lo \
-- where.lo utf.lo legacy.lo vtab.lo
-+ where.lo utf.lo legacy.lo vtab.lo \
-+ fts2.lo fts2_hash.lo fts2_porter.lo fts2_tokenizer.lo fts2_tokenizer1.lo
-
- # All of the source code files.
- #
-@@ -198,6 +199,15 @@
- $(TOP)/ext/fts1/fts1_tokenizer.h \
- $(TOP)/ext/fts1/fts1_tokenizer1.c
-
-+SRC += \
-+ $(TOP)/ext/fts2/fts2.c \
-+ $(TOP)/ext/fts2/fts2.h \
-+ $(TOP)/ext/fts2/fts2_hash.c \
-+ $(TOP)/ext/fts2/fts2_hash.h \
-+ $(TOP)/ext/fts2/fts2_porter.c \
-+ $(TOP)/ext/fts2/fts2_tokenizer.c \
-+ $(TOP)/ext/fts2/fts2_tokenizer.h \
-+ $(TOP)/ext/fts2/fts2_tokenizer1.c
-
- # Source code to the test files.
- #
-@@ -261,6 +271,11 @@
- $(TOP)/ext/fts1/fts1_hash.h \
- $(TOP)/ext/fts1/fts1_tokenizer.h
-
-+HDR += \
-+ $(TOP)/ext/fts2/fts2.h \
-+ $(TOP)/ext/fts2/fts2_hash.h \
-+ $(TOP)/ext/fts2/fts2_tokenizer.h
-+
- # Header files used by the VDBE submodule
- #
- VDBEHDR = \
-@@ -482,6 +497,21 @@
- where.lo: $(TOP)/src/where.c $(HDR)
- $(LTCOMPILE) -c $(TOP)/src/where.c
-
-+fts2.lo: $(TOP)/ext/fts2/fts2.c $(HDR)
-+ $(LTCOMPILE) -c $(TOP)/ext/fts2/fts2.c
-+
-+fts2_hash.lo: $(TOP)/ext/fts2/fts2_hash.c $(HDR)
-+ $(LTCOMPILE) -c $(TOP)/ext/fts2/fts2_hash.c
-+
-+fts2_porter.lo: $(TOP)/ext/fts2/fts2_porter.c $(HDR)
-+ $(LTCOMPILE) -c $(TOP)/ext/fts2/fts2_porter.c
-+
-+fts2_tokenizer.lo: $(TOP)/ext/fts2/fts2_tokenizer.c $(HDR)
-+ $(LTCOMPILE) -c $(TOP)/ext/fts2/fts2_tokenizer.c
-+
-+fts2_tokenizer1.lo: $(TOP)/ext/fts2/fts2_tokenizer1.c $(HDR)
-+ $(LTCOMPILE) -c $(TOP)/ext/fts2/fts2_tokenizer1.c
-+
- tclsqlite-shell.lo: $(TOP)/src/tclsqlite.c $(HDR)
- $(LTCOMPILE) -DTCLSH=1 -o $@ -c $(TOP)/src/tclsqlite.c
-
diff --git a/databases/sqlite34/files/patch-Makefile.in b/databases/sqlite34/files/patch-Makefile.in
deleted file mode 100644
index 1b7d46e8a134..000000000000
--- a/databases/sqlite34/files/patch-Makefile.in
+++ /dev/null
@@ -1,22 +0,0 @@
---- Makefile.in.orig Mon Jan 8 11:39:27 2007
-+++ Makefile.in Mon Feb 12 10:18:02 2007
-@@ -260,7 +260,7 @@
- # This is the default Makefile target. The objects listed here
- # are what get build when you type just "make" with no arguments.
- #
--all: sqlite3.h libsqlite3.la sqlite3$(TEXE) $(HAVE_TCL:1=libtclsqlite3.la)
-+all: sqlite3.h libsqlite3.la sqlite3$(TEXE) $(HAVE_TCL:1=libtclsqlite3.la tclsqlite3)
-
- Makefile: $(TOP)/Makefile.in
- ./config.status
-@@ -666,8 +666,8 @@
- $(INSTALL) -d $(DESTDIR)$(prefix)/include
- $(INSTALL) -m 0644 sqlite3.h $(DESTDIR)$(prefix)/include
- $(INSTALL) -m 0644 $(TOP)/src/sqlite3ext.h $(DESTDIR)$(prefix)/include
-- $(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig;
-- $(INSTALL) -m 0644 sqlite3.pc $(DESTDIR)$(libdir)/pkgconfig;
-+ $(INSTALL) -d $(DESTDIR)$(exec_prefix)/libdata/pkgconfig;
-+ $(INSTALL) -m 0644 sqlite3.pc $(DESTDIR)$(exec_prefix)/libdata/pkgconfig;
-
- tcl_install: libtclsqlite3.la
- tclsh $(TOP)/tclinstaller.tcl $(VERSION)
diff --git a/databases/sqlite34/files/patch-ext__fts1__fts1.c b/databases/sqlite34/files/patch-ext__fts1__fts1.c
deleted file mode 100644
index 8357e5832668..000000000000
--- a/databases/sqlite34/files/patch-ext__fts1__fts1.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- ext/fts1/fts1.c.orig Sun Oct 8 06:16:32 2006
-+++ ext/fts1/fts1.c Sun Dec 3 14:44:46 2006
-@@ -19,11 +19,7 @@
- #endif
-
- #include <assert.h>
--#if !defined(__APPLE__)
--#include <malloc.h>
--#else
- #include <stdlib.h>
--#endif
- #include <stdio.h>
- #include <string.h>
- #include <ctype.h>
diff --git a/databases/sqlite34/files/patch-ext__fts1__fts1_porter.c b/databases/sqlite34/files/patch-ext__fts1__fts1_porter.c
deleted file mode 100644
index 6185bf94dcd5..000000000000
--- a/databases/sqlite34/files/patch-ext__fts1__fts1_porter.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- ext/fts1/fts1_porter.c.orig Sun Oct 1 13:01:13 2006
-+++ ext/fts1/fts1_porter.c Sun Dec 3 14:45:17 2006
-@@ -26,11 +26,7 @@
-
-
- #include <assert.h>
--#if !defined(__APPLE__)
--#include <malloc.h>
--#else
- #include <stdlib.h>
--#endif
- #include <stdio.h>
- #include <string.h>
- #include <ctype.h>
diff --git a/databases/sqlite34/files/patch-ext__fts1__fts1_tokenizer1.c b/databases/sqlite34/files/patch-ext__fts1__fts1_tokenizer1.c
deleted file mode 100644
index 438019e54f9d..000000000000
--- a/databases/sqlite34/files/patch-ext__fts1__fts1_tokenizer1.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- ext/fts1/fts1_tokenizer1.c.orig Sat Sep 30 08:57:33 2006
-+++ ext/fts1/fts1_tokenizer1.c Sun Dec 3 14:45:56 2006
-@@ -18,11 +18,7 @@
-
-
- #include <assert.h>
--#if !defined(__APPLE__)
--#include <malloc.h>
--#else
- #include <stdlib.h>
--#endif
- #include <stdio.h>
- #include <string.h>
- #include <ctype.h>
diff --git a/databases/sqlite34/files/patch-ext__fts2__fts2.c b/databases/sqlite34/files/patch-ext__fts2__fts2.c
deleted file mode 100644
index b68f8f3a4a64..000000000000
--- a/databases/sqlite34/files/patch-ext__fts2__fts2.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- ext/fts2/fts2.c.orig Fri Jun 8 12:31:37 2007
-+++ ext/fts2/fts2.c Fri Jun 8 12:32:16 2007
-@@ -269,9 +269,6 @@
- #endif
-
- #include <assert.h>
--#if !defined(__APPLE__)
--#include <malloc.h>
--#endif
- #include <stdlib.h>
- #include <stdio.h>
- #include <string.h>
diff --git a/databases/sqlite34/files/patch-ext__fts2__fts2_porter.c b/databases/sqlite34/files/patch-ext__fts2__fts2_porter.c
deleted file mode 100644
index 0ed308c4f012..000000000000
--- a/databases/sqlite34/files/patch-ext__fts2__fts2_porter.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- ext/fts2/fts2_porter.c.orig Fri Jun 8 12:31:44 2007
-+++ ext/fts2/fts2_porter.c Fri Jun 8 12:32:21 2007
-@@ -26,11 +26,7 @@
-
-
- #include <assert.h>
--#if !defined(__APPLE__)
--#include <malloc.h>
--#else
- #include <stdlib.h>
--#endif
- #include <stdio.h>
- #include <string.h>
- #include <ctype.h>
diff --git a/databases/sqlite34/files/patch-ext__fts2__fts2_tokenizer1.c b/databases/sqlite34/files/patch-ext__fts2__fts2_tokenizer1.c
deleted file mode 100644
index 1f539b950b31..000000000000
--- a/databases/sqlite34/files/patch-ext__fts2__fts2_tokenizer1.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- ext/fts2/fts2_tokenizer1.c.orig Fri Jun 8 12:31:51 2007
-+++ ext/fts2/fts2_tokenizer1.c Fri Jun 8 12:32:26 2007
-@@ -18,11 +18,7 @@
-
-
- #include <assert.h>
--#if !defined(__APPLE__)
--#include <malloc.h>
--#else
- #include <stdlib.h>
--#endif
- #include <stdio.h>
- #include <string.h>
- #include <ctype.h>
diff --git a/databases/sqlite34/files/pkgIndex.tcl b/databases/sqlite34/files/pkgIndex.tcl
deleted file mode 100644
index d8b6bbc30048..000000000000
--- a/databases/sqlite34/files/pkgIndex.tcl
+++ /dev/null
@@ -1 +0,0 @@
-package ifneeded sqlite 0.0 [list load [file join $dir libtclsqlite3.so] sqlite]
diff --git a/databases/sqlite34/pkg-descr b/databases/sqlite34/pkg-descr
deleted file mode 100644
index 3cdcbd6b2daf..000000000000
--- a/databases/sqlite34/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-SQLite is an SQL database engine in a C library. Programs that link the SQLite
-library can have SQL database access without running a separate RDBMS process.
-The distribution comes with a standalone command-line access program (sqlite)
-that can be used to administer an SQLite database and which serves as an
-example of how to use the SQLite library.
-
-WWW: http://www.sqlite.org/
diff --git a/databases/sqlite34/pkg-plist b/databases/sqlite34/pkg-plist
deleted file mode 100644
index f6b0ecd11099..000000000000
--- a/databases/sqlite34/pkg-plist
+++ /dev/null
@@ -1,19 +0,0 @@
-bin/sqlite3
-%%WITH_TCLWRAPPER%%bin/tclsqlite3
-include/sqlite3.h
-include/sqlite3ext.h
-lib/libsqlite3.a
-lib/libsqlite3.la
-lib/libsqlite3.so
-lib/libsqlite3.so.8
-libdata/pkgconfig/sqlite3.pc
-%%WITH_TCLWRAPPER%%lib/sqlite/libtclsqlite3.a
-%%WITH_TCLWRAPPER%%lib/sqlite/libtclsqlite3.la
-%%WITH_TCLWRAPPER%%lib/sqlite/libtclsqlite3.so
-%%WITH_TCLWRAPPER%%lib/sqlite/libtclsqlite3.so.8
-%%WITH_TCLWRAPPER%%lib/sqlite/pkgIndex.tcl
-%%WITH_TCLWRAPPER%%@dirrm lib/sqlite
-%%WITH_TCLWRAPPER%%%%EXAMPLESDIR%%/example.tcl
-%%WITH_TCLWRAPPER%%@dirrm %%EXAMPLESDIR%%
-%%THOL%%%%DATADIR%%/sqlite3_with_threads-override-locks
-%%THOL%%@dirrm %%DATADIR%%