[43216] trunk/base/src/sqlite-3.1.3.diff
blb at macports.org
blb at macports.org
Sun Dec 7 00:09:06 PST 2008
Revision: 43216
http://trac.macports.org/changeset/43216
Author: blb at macports.org
Date: 2008-12-07 00:09:01 -0800 (Sun, 07 Dec 2008)
Log Message:
-----------
src/sqlite-3.1.3.diff - properly load the sqlite3 package (only installed
on 10.3)
Modified Paths:
--------------
trunk/base/src/sqlite-3.1.3.diff
Modified: trunk/base/src/sqlite-3.1.3.diff
===================================================================
--- trunk/base/src/sqlite-3.1.3.diff 2008-12-07 08:06:52 UTC (rev 43215)
+++ trunk/base/src/sqlite-3.1.3.diff 2008-12-07 08:09:01 UTC (rev 43216)
@@ -34,7 +34,7 @@
diff -ru src/sqlite-3.1.3/tclinstaller.tcl src/sqlite-3.1.3.mine/tclinstaller.tcl
--- src/sqlite-3.1.3/tclinstaller.tcl 2005-01-30 17:10:01.000000000 -0500
+++ src/sqlite-3.1.3.mine/tclinstaller.tcl 2007-05-31 17:33:32.000000000 -0400
-@@ -7,7 +7,7 @@
+@@ -7,14 +7,14 @@
set VERSION [lindex $argv 0]
set LIBFILE .libs/libtclsqlite3[info sharedlibextension]
if { ![info exists env(DESTDIR)] } { set env(DESTDIR) "" }
@@ -43,3 +43,11 @@
set LIBNAME [file tail $LIBFILE]
set LIB $LIBDIR/sqlite3/$LIBNAME
+ file delete -force $LIBDIR/sqlite3
+ file mkdir $LIBDIR/sqlite3
+ set fd [open $LIBDIR/sqlite3/pkgIndex.tcl w]
+-puts $fd "package ifneeded sqlite3 $VERSION \[list load $LIB sqlite3\]"
++puts $fd "package ifneeded sqlite3 $VERSION \[list load \[file join \$dir libtclsqlite3.dylib\]\]"
+ close $fd
+
+ # We cannot use [file copy] because that will just make a copy of
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081207/943accd1/attachment.html>
More information about the macports-changes
mailing list