FreeBSD Port: sqlite-2.8.9 Upgrade [patch]
Phil Oleson
oz at nixil.net
Thu Jan 8 18:40:40 PST 2004
Blah.. as soon as I send off the previous email I notice that a new
revision was released this week. Teaches me to not check for updates
prior to sending out email to others..
here is a patch to bring it up to date..
Phil.
-------------- next part --------------
diff -ru sqlite.old/Makefile sqlite/Makefile
--- sqlite.old/Makefile Tue Nov 11 08:13:08 2003
+++ sqlite/Makefile Thu Jan 8 16:14:59 2004
@@ -12,7 +12,7 @@
# SQLITE_WITH_TCL83 and SQLITE_WITH_TCL84.
PORTNAME= sqlite
-PORTVERSION= 2.8.6
+PORTVERSION= 2.8.9
PORTREVISION= 0
CATEGORIES= databases
MASTER_SITES= http://www.hwaci.com/sw/sqlite/
diff -ru sqlite.old/distinfo sqlite/distinfo
--- sqlite.old/distinfo Tue Nov 11 08:13:08 2003
+++ sqlite/distinfo Thu Jan 8 16:14:51 2004
@@ -1 +1 @@
-MD5 (sqlite-2.8.6.tar.gz) = 3047e24370d7e49d7bfd9728addf76cf
+MD5 (sqlite-2.8.9.tar.gz) = 0b19989fe083fd547d3baff619d62cda
diff -ru sqlite.old/files/patch-Makefile.in sqlite/files/patch-Makefile.in
--- sqlite.old/files/patch-Makefile.in Tue Nov 11 08:13:08 2003
+++ sqlite/files/patch-Makefile.in Thu Jan 8 16:25:00 2004
@@ -1,18 +1,18 @@
---- Makefile.in.orig Thu Aug 21 22:36:16 2003
-+++ Makefile.in Tue Nov 11 14:02:32 2003
+--- Makefile.in.orig Mon Dec 22 07:29:33 2003
++++ Makefile.in Thu Jan 8 16:23:56 2004
@@ -33,7 +33,7 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
INSTALL = @INSTALL@
-LIBTOOL = ./libtool
+LIBTOOL = %%LIBTOOL%%
+ RELEASE = @ALLOWRELEASE@
# Compiler options needed for programs that use the TCL library.
- #
-@@ -168,12 +168,12 @@
+@@ -178,12 +178,12 @@
libsqlite.la: $(LIBOBJ)
- $(LIBTOOL) $(TCC) -o libsqlite.la $(LIBOBJ) -rpath $(exec_prefix)/lib \
+ $(LIBTOOL) $(TCC) -o libsqlite.la $(LIBOBJ) ${RELEASE} -rpath $(exec_prefix)/lib \
- -version-info "8:6:8"
+ -version-info "2:0:0"
@@ -22,9 +22,9 @@
- -version-info "8:6:8"
+ -version-info "2:0:0"
- sqlite: $(TOP)/src/shell.c libsqlite.la sqlite.h
+ sqlite at TARGET_EXEEXT@: $(TOP)/src/shell.c libsqlite.la sqlite.h
$(LIBTOOL) $(TCC) $(READLINE_FLAGS) -o sqlite $(TOP)/src/shell.c \
-@@ -341,67 +341,67 @@
+@@ -357,67 +357,67 @@
./testfixture $(TOP)/test/quick.test
index.html: $(TOP)/www/index.tcl last_change
@@ -112,25 +112,25 @@
# Files to be published on the website.
-@@ -435,13 +435,19 @@
+@@ -451,13 +451,19 @@
- install: sqlite libsqlite.la sqlite.h
+ install: sqlite at TARGET_EXEEXT@ libsqlite.la sqlite.h
$(INSTALL) -d $(exec_prefix)/lib
- $(LIBTOOL) $(INSTALL) libsqlite.la $(exec_prefix)/lib
+ $(INSTALL) .libs/libsqlite.a $(exec_prefix)/lib
+ $(INSTALL) .libs/libsqlite.so $(exec_prefix)/lib
+ $(INSTALL) .libs/libsqlite.so.2 $(exec_prefix)/lib
$(INSTALL) -d $(exec_prefix)/bin
-- $(LIBTOOL) $(INSTALL) sqlite $(exec_prefix)/bin
-+ $(INSTALL) .libs/sqlite $(exec_prefix)/bin
+- $(LIBTOOL) $(INSTALL) sqlite at TARGET_EXEEXT@ $(exec_prefix)/bin
++ $(INSTALL) .libs/sqlite at TARGET_EXEEXT@ $(exec_prefix)/bin
$(INSTALL) -d $(prefix)/include
$(INSTALL) -m 0644 sqlite.h $(prefix)/include
- $(INSTALL) -d $(exec_prefix)/lib/pkgconfig; \
- $(INSTALL) -m 0644 sqlite.pc $(exec_prefix)/lib/pkgconfig; \
+ $(INSTALL) -d $(exec_prefix)/lib/pkgconfig;
+ $(INSTALL) -m 0644 sqlite.pc $(exec_prefix)/lib/pkgconfig;
+
+install-tcl: libtclsqlite.la
+ $(INSTALL) -d $(prefix)/lib/sqlite
+ $(INSTALL) .libs/libtclsqlite.so $(prefix)/lib/sqlite
clean:
- rm -f *.lo *.la *.o sqlite libsqlite.la sqlite.h opcodes.*
+ rm -f *.lo *.la *.o sqlite at TARGET_EXEEXT@ libsqlite.la sqlite.h opcodes.*
More information about the freebsd-ports
mailing list