mirror of
https://git.freebsd.org/ports.git
synced 2025-06-12 16:20:33 -04:00
o The TCL wrapper is now optional and off by default. Use SQLITE_WITH_TCL83/SQLITE_WITH_TCL84 to enable it. TCL is still needed for building the docs, unless you specify NOPORTDOCS. o The TCL example is now installed in $LOCALBASE/share/examples/sqlite. This patch is quite hackish in that it replaces the libtool stuff from SQLite with the libtool port. It also uses plain 'install' instead of 'libtool install' to install shared libraries. This might not look nice, but it's the only way I got the desired effects to work (i. e. SQLite's libtool refused to install the TCL wrapper in $LOCALBASE/lib/sqlite - it insisted on only installing it into $LOCALBASE/lib. PR: ports/53182 Submitted by: Gerhard Haering <gh@ghaering.de> (maintainer)
206 lines
6.1 KiB
Text
206 lines
6.1 KiB
Text
*** ../../tmp/sqlite/Makefile.in Sat May 17 04:26:29 2003
|
|
--- Makefile.in Sun Jun 8 18:54:50 2003
|
|
***************
|
|
*** 33,39 ****
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
INSTALL = @INSTALL@
|
|
! LIBTOOL = ./libtool
|
|
|
|
# Compiler options needed for programs that use the TCL library.
|
|
#
|
|
--- 33,39 ----
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
INSTALL = @INSTALL@
|
|
! LIBTOOL = @prefix@/bin/libtool
|
|
|
|
# Compiler options needed for programs that use the TCL library.
|
|
#
|
|
***************
|
|
*** 166,172 ****
|
|
| awk '{print $$5,$$6}' >last_change
|
|
|
|
libsqlite.la: $(LIBOBJ)
|
|
! $(LIBTOOL) $(TCC) -o libsqlite.la $(LIBOBJ) -rpath $(exec_prefix)/lib
|
|
|
|
libtclsqlite.la: tclsqlite.lo libsqlite.la
|
|
$(LIBTOOL) $(TCC) -o libtclsqlite.la tclsqlite.lo \
|
|
--- 166,172 ----
|
|
| awk '{print $$5,$$6}' >last_change
|
|
|
|
libsqlite.la: $(LIBOBJ)
|
|
! $(LIBTOOL) $(TCC) -o libsqlite.la $(LIBOBJ) -rpath $(exec_prefix)/lib -version-info 2:0:0
|
|
|
|
libtclsqlite.la: tclsqlite.lo libsqlite.la
|
|
$(LIBTOOL) $(TCC) -o libtclsqlite.la tclsqlite.lo \
|
|
***************
|
|
*** 338,404 ****
|
|
./testfixture $(TOP)/test/quick.test
|
|
|
|
index.html: $(TOP)/www/index.tcl last_change
|
|
! tclsh $(TOP)/www/index.tcl `cat $(TOP)/VERSION` >index.html
|
|
|
|
sqlite.html: $(TOP)/www/sqlite.tcl
|
|
! tclsh $(TOP)/www/sqlite.tcl >sqlite.html
|
|
|
|
c_interface.html: $(TOP)/www/c_interface.tcl
|
|
! tclsh $(TOP)/www/c_interface.tcl >c_interface.html
|
|
|
|
changes.html: $(TOP)/www/changes.tcl
|
|
! tclsh $(TOP)/www/changes.tcl >changes.html
|
|
|
|
lang.html: $(TOP)/www/lang.tcl
|
|
! tclsh $(TOP)/www/lang.tcl >lang.html
|
|
|
|
vdbe.html: $(TOP)/www/vdbe.tcl
|
|
! tclsh $(TOP)/www/vdbe.tcl >vdbe.html
|
|
|
|
arch.html: $(TOP)/www/arch.tcl
|
|
! tclsh $(TOP)/www/arch.tcl >arch.html
|
|
|
|
arch.png: $(TOP)/www/arch.png
|
|
cp $(TOP)/www/arch.png .
|
|
|
|
opcode.html: $(TOP)/www/opcode.tcl $(TOP)/src/vdbe.c
|
|
! tclsh $(TOP)/www/opcode.tcl $(TOP)/src/vdbe.c >opcode.html
|
|
|
|
mingw.html: $(TOP)/www/mingw.tcl
|
|
! tclsh $(TOP)/www/mingw.tcl >mingw.html
|
|
|
|
tclsqlite.html: $(TOP)/www/tclsqlite.tcl
|
|
! tclsh $(TOP)/www/tclsqlite.tcl >tclsqlite.html
|
|
|
|
speed.html: $(TOP)/www/speed.tcl
|
|
! tclsh $(TOP)/www/speed.tcl >speed.html
|
|
|
|
faq.html: $(TOP)/www/faq.tcl
|
|
! tclsh $(TOP)/www/faq.tcl >faq.html
|
|
|
|
formatchng.html: $(TOP)/www/formatchng.tcl
|
|
! tclsh $(TOP)/www/formatchng.tcl >formatchng.html
|
|
|
|
conflict.html: $(TOP)/www/conflict.tcl
|
|
! tclsh $(TOP)/www/conflict.tcl >conflict.html
|
|
|
|
download.html: $(TOP)/www/download.tcl
|
|
! tclsh $(TOP)/www/download.tcl >download.html
|
|
|
|
omitted.html: $(TOP)/www/omitted.tcl
|
|
! tclsh $(TOP)/www/omitted.tcl >omitted.html
|
|
|
|
datatypes.html: $(TOP)/www/datatypes.tcl
|
|
! tclsh $(TOP)/www/datatypes.tcl >datatypes.html
|
|
|
|
quickstart.html: $(TOP)/www/quickstart.tcl
|
|
! tclsh $(TOP)/www/quickstart.tcl >quickstart.html
|
|
|
|
fileformat.html: $(TOP)/www/fileformat.tcl
|
|
! tclsh $(TOP)/www/fileformat.tcl >fileformat.html
|
|
|
|
nulls.html: $(TOP)/www/nulls.tcl
|
|
! tclsh $(TOP)/www/nulls.tcl >nulls.html
|
|
|
|
|
|
# Files to be published on the website.
|
|
--- 338,404 ----
|
|
./testfixture $(TOP)/test/quick.test
|
|
|
|
index.html: $(TOP)/www/index.tcl last_change
|
|
! $(TCLSH) $(TOP)/www/index.tcl `cat $(TOP)/VERSION` >index.html
|
|
|
|
sqlite.html: $(TOP)/www/sqlite.tcl
|
|
! $(TCLSH) $(TOP)/www/sqlite.tcl >sqlite.html
|
|
|
|
c_interface.html: $(TOP)/www/c_interface.tcl
|
|
! $(TCLSH) $(TOP)/www/c_interface.tcl >c_interface.html
|
|
|
|
changes.html: $(TOP)/www/changes.tcl
|
|
! $(TCLSH) $(TOP)/www/changes.tcl >changes.html
|
|
|
|
lang.html: $(TOP)/www/lang.tcl
|
|
! $(TCLSH) $(TOP)/www/lang.tcl >lang.html
|
|
|
|
vdbe.html: $(TOP)/www/vdbe.tcl
|
|
! $(TCLSH) $(TOP)/www/vdbe.tcl >vdbe.html
|
|
|
|
arch.html: $(TOP)/www/arch.tcl
|
|
! $(TCLSH) $(TOP)/www/arch.tcl >arch.html
|
|
|
|
arch.png: $(TOP)/www/arch.png
|
|
cp $(TOP)/www/arch.png .
|
|
|
|
opcode.html: $(TOP)/www/opcode.tcl $(TOP)/src/vdbe.c
|
|
! $(TCLSH) $(TOP)/www/opcode.tcl $(TOP)/src/vdbe.c >opcode.html
|
|
|
|
mingw.html: $(TOP)/www/mingw.tcl
|
|
! $(TCLSH) $(TOP)/www/mingw.tcl >mingw.html
|
|
|
|
tclsqlite.html: $(TOP)/www/tclsqlite.tcl
|
|
! $(TCLSH) $(TOP)/www/tclsqlite.tcl >tclsqlite.html
|
|
|
|
speed.html: $(TOP)/www/speed.tcl
|
|
! $(TCLSH) $(TOP)/www/speed.tcl >speed.html
|
|
|
|
faq.html: $(TOP)/www/faq.tcl
|
|
! $(TCLSH) $(TOP)/www/faq.tcl >faq.html
|
|
|
|
formatchng.html: $(TOP)/www/formatchng.tcl
|
|
! $(TCLSH) $(TOP)/www/formatchng.tcl >formatchng.html
|
|
|
|
conflict.html: $(TOP)/www/conflict.tcl
|
|
! $(TCLSH) $(TOP)/www/conflict.tcl >conflict.html
|
|
|
|
download.html: $(TOP)/www/download.tcl
|
|
! $(TCLSH) $(TOP)/www/download.tcl >download.html
|
|
|
|
omitted.html: $(TOP)/www/omitted.tcl
|
|
! $(TCLSH) $(TOP)/www/omitted.tcl >omitted.html
|
|
|
|
datatypes.html: $(TOP)/www/datatypes.tcl
|
|
! $(TCLSH) $(TOP)/www/datatypes.tcl >datatypes.html
|
|
|
|
quickstart.html: $(TOP)/www/quickstart.tcl
|
|
! $(TCLSH) $(TOP)/www/quickstart.tcl >quickstart.html
|
|
|
|
fileformat.html: $(TOP)/www/fileformat.tcl
|
|
! $(TCLSH) $(TOP)/www/fileformat.tcl >fileformat.html
|
|
|
|
nulls.html: $(TOP)/www/nulls.tcl
|
|
! $(TCLSH) $(TOP)/www/nulls.tcl >nulls.html
|
|
|
|
|
|
# Files to be published on the website.
|
|
***************
|
|
*** 432,444 ****
|
|
|
|
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
|
|
! $(INSTALL) -d $(exec_prefix)/lib/pkgconfig; \
|
|
! $(INSTALL) -m 0644 sqlite.pc $(exec_prefix)/lib/pkgconfig; \
|
|
|
|
clean:
|
|
rm -f *.lo *.la *.o sqlite libsqlite.la sqlite.h opcodes.*
|
|
--- 432,448 ----
|
|
|
|
install: sqlite libsqlite.la sqlite.h
|
|
$(INSTALL) -d $(exec_prefix)/lib
|
|
! $(INSTALL) .libs/libsqlite.a $(prefix)/lib
|
|
! $(INSTALL) .libs/libsqlite.so $(prefix)/lib
|
|
! $(INSTALL) .libs/libsqlite.so.2 $(prefix)/lib
|
|
$(INSTALL) -d $(exec_prefix)/bin
|
|
! $(INSTALL) .libs/sqlite $(exec_prefix)/bin
|
|
$(INSTALL) -d $(prefix)/include
|
|
$(INSTALL) -m 0644 sqlite.h $(prefix)/include
|
|
!
|
|
! 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.*
|