diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-01-26 05:16:45 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-01-26 05:16:45 +0000 |
commit | 8df222ee02697d4755021c23b767ee8dd82bafba (patch) | |
tree | e829e508316172b0f81ea2b76219ff8963a87850 /dev-db/sqlite/files | |
parent | Fix missing prototypes for *times functions. (diff) | |
download | gentoo-2-8df222ee02697d4755021c23b767ee8dd82bafba.tar.gz gentoo-2-8df222ee02697d4755021c23b767ee8dd82bafba.tar.bz2 gentoo-2-8df222ee02697d4755021c23b767ee8dd82bafba.zip |
Fixup tcl lib install by using libtool rather than manual copy.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/sqlite/files')
-rw-r--r-- | dev-db/sqlite/files/sqlite-3.6.10-tcl-install.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-db/sqlite/files/sqlite-3.6.10-tcl-install.patch b/dev-db/sqlite/files/sqlite-3.6.10-tcl-install.patch new file mode 100644 index 000000000000..c7f7b7bd80f7 --- /dev/null +++ b/dev-db/sqlite/files/sqlite-3.6.10-tcl-install.patch @@ -0,0 +1,27 @@ +--- Makefile.in ++++ Makefile.in +@@ -457,7 +457,7 @@ + libtclsqlite3.la: tclsqlite.lo libsqlite3.la + $(LTLINK) -o $@ tclsqlite.lo \ + libsqlite3.la @TCL_STUB_LIB_SPEC@ $(TLIBS) \ +- -rpath "$(libdir)/sqlite" \ ++ -rpath "$(libdir)/sqlite3" \ + -module -avoid-version + + sqlite3$(TEXE): $(TOP)/src/shell.c libsqlite3.la sqlite3.h +@@ -765,8 +765,13 @@ + $(INSTALL) -d $(DESTDIR)$(pkgconfigdir) + $(INSTALL) -m 0644 sqlite3.pc $(DESTDIR)$(pkgconfigdir) + +-tcl_install: libtclsqlite3.la +- $(TCLSH_CMD) $(TOP)/tclinstaller.tcl $(RELEASE) ++pkgIndex.tcl: ++ echo 'package ifneeded sqlite3 $(RELEASE) [list load $(libdir)/sqlite3/libtclsqlite3.so sqlite3]' > $@ ++tcl_install: libtclsqlite3.la pkgIndex.tcl ++ $(INSTALL) -d $(DESTDIR)$(libdir)/sqlite3 ++ $(LTINSTALL) libtclsqlite3.la $(DESTDIR)$(libdir)/sqlite3 ++ rm -f $(DESTDIR)$(libdir)/sqlite3/libtclsqlite3.a $(DESTDIR)$(libdir)/sqlite3/libtclsqlite3.la ++ $(INSTALL) -m 0644 pkgIndex.tcl $(DESTDIR)$(libdir)/sqlite3 + + clean: + rm -f *.lo *.la *.o sqlite3$(TEXE) libsqlite3.la |