diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-09-02 13:21:36 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-09-02 13:21:36 +0000 |
commit | 7bb30f60b02c0ab5ac152bf44325b4116d7b8a30 (patch) | |
tree | 23c6d18264598e88f01a20d76a75de3964782bbf /databases/sqlite2/files | |
parent | Update to 20020902. (diff) |
Fixup from previous commit
Bump PORTREVISION
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=65494
Diffstat (limited to 'databases/sqlite2/files')
-rw-r--r-- | databases/sqlite2/files/example.tcl | 14 | ||||
-rw-r--r-- | databases/sqlite2/files/patch-makefile | 34 |
2 files changed, 48 insertions, 0 deletions
diff --git a/databases/sqlite2/files/example.tcl b/databases/sqlite2/files/example.tcl new file mode 100644 index 000000000000..765c3f9ba715 --- /dev/null +++ b/databases/sqlite2/files/example.tcl @@ -0,0 +1,14 @@ +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/sqlite2/files/patch-makefile b/databases/sqlite2/files/patch-makefile new file mode 100644 index 000000000000..e6eb78ae096c --- /dev/null +++ b/databases/sqlite2/files/patch-makefile @@ -0,0 +1,34 @@ +diff -r -C 3 ../sqlite.orig/Makefile.in ./Makefile.in +*** ../sqlite.orig/Makefile.in Sat Aug 31 18:29:58 2002 +--- ./Makefile.in Mon Sep 2 00:51:27 2002 +*************** +*** 310,322 **** + mkdir -p doc + mv $(DOC) doc + +! install: sqlite libsqlite.la sqlite.h + $(INSTALL) -d $(exec_prefix)/lib + $(LIBTOOL) $(INSTALL) libsqlite.la $(exec_prefix)/lib + $(INSTALL) -d $(exec_prefix)/bin + $(LIBTOOL) $(INSTALL) sqlite $(exec_prefix)/bin + $(INSTALL) -d $(prefix)/include + $(INSTALL) -m 0644 sqlite.h $(prefix)/include + + clean: + rm -f *.lo *.la *.o sqlite libsqlite.la sqlite.h +--- 310,324 ---- + mkdir -p doc + mv $(DOC) doc + +! install: sqlite libsqlite.la sqlite.h libtclsqlite.la + $(INSTALL) -d $(exec_prefix)/lib + $(LIBTOOL) $(INSTALL) libsqlite.la $(exec_prefix)/lib + $(INSTALL) -d $(exec_prefix)/bin + $(LIBTOOL) $(INSTALL) sqlite $(exec_prefix)/bin + $(INSTALL) -d $(prefix)/include + $(INSTALL) -m 0644 sqlite.h $(prefix)/include ++ mkdir -p $(prefix)/lib/sqlite ++ $(LIBTOOL) $(INSTALL) libtclsqlite.la $(prefix)/lib/sqlite + + clean: + rm -f *.lo *.la *.o sqlite libsqlite.la sqlite.h |