openbsd-ports/databases/sqlite3/patches/patch-publish_sh
simon eebae1b0c1 update to version 3.6.4, see http://www.sqlite.org/35to36.html and
http://www.sqlite.org/changes.html for the details

tcl adjustments and bulk build testing by bernd@, thanks!

ok bernd@, steven@, martynas@
2008-10-27 17:14:18 +00:00

20 lines
847 B
Plaintext

$OpenBSD: patch-publish_sh,v 1.2 2008/10/27 17:14:18 simon Exp $
--- publish.sh.orig Tue Oct 14 20:07:39 2008
+++ publish.sh Sat Oct 25 19:39:50 2008
@@ -56,13 +56,13 @@ CFLAGS="-Os -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTR
CFLAGS="$CFLAGS -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1"
CFLAGS="$CFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1"
echo '***** BUILDING shared libraries for linux'
-gcc $CFLAGS -shared tclsqlite3.c $TCLSTUBLIB -o tclsqlite3.so -lpthread
+gcc $CFLAGS -shared tclsqlite3.c $TCLSTUBLIB -o tclsqlite3.so -pthread
strip tclsqlite3.so
chmod 644 tclsqlite3.so
mv tclsqlite3.so tclsqlite-$VERS.so
gzip tclsqlite-$VERS.so
mv tclsqlite-$VERS.so.gz doc
-gcc $CFLAGS -shared sqlite3.c -o sqlite3.so -lpthread
+gcc $CFLAGS -shared sqlite3.c -o sqlite3.so -pthread
strip sqlite3.so
chmod 644 sqlite3.so
mv sqlite3.so sqlite-$VERS.so