aboutsummaryrefslogtreecommitdiff
path: root/libraries/sqliteodbc/fix-destdir-install.patch
blob: 373997c04f240b09b2230aef3cded8677483a26e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Index: sqliteodbc-0.9996/Makefile.in
===================================================================
--- sqliteodbc-0.9996.orig/Makefile.in
+++ sqliteodbc-0.9996/Makefile.in
@@ -5,7 +5,7 @@ exec_prefix =	@exec_prefix@
 libdir =	@libdir@
 drvdir =	$(libdir)@DRVDIR@
 CC =		@CC@
-INSTALL =	@INSTALL@
+INSTALL =	./install-sh
 LIBTOOL =	./libtool
 CFLAGS=		@CFLAGS@ -DDRIVER_VER_INFO=\"@VER_INFO@\" @SQLITE3_A10N_FLAGS@
 SQLITE_INC =	@SQLITE_INC@
@@ -138,7 +138,7 @@ xpath.lo:	xpath.c
 
 install-2:	libsqliteodbc.la
 		$(LIBTOOL) --mode=install $(INSTALL) \
-		    libsqliteodbc.la $(DESTDIR)$(drvdir)
+		    libsqliteodbc.la $(DESTDIR)$(drvdir)/libsqliteodbc.la
 
 drvinst-2:	install-2
 		sh drvdsninst.sh SQLITE "SQLite Datasource" \
@@ -154,22 +154,22 @@ uninstall-2:
 install-3:	libsqlite3odbc.la @EXT_BLOBTOXY@ @EXT_IMPEXP@ \
 		@EXT_CSVTABLE@ @EXT_ZIPFILE@ @EXT_XPATH@
 		$(LIBTOOL) --mode=install $(INSTALL) \
-		    libsqlite3odbc.la $(DESTDIR)$(drvdir)
+		    libsqlite3odbc.la $(DESTDIR)$(drvdir)/libsqlite3odbc.la
 		test -z "@EXT_BLOBTOXY@" || \
 		    $(LIBTOOL) --mode=install $(INSTALL) \
-		    @EXT_BLOBTOXY@ $(DESTDIR)$(drvdir)
+		    @EXT_BLOBTOXY@ $(DESTDIR)$(drvdir)/@EXT_BLOBTOXY@
 		test -z "@EXT_IMPEXP@" || \
 		    $(LIBTOOL) --mode=install $(INSTALL) \
-		    @EXT_IMPEXP@ $(DESTDIR)$(drvdir)
+		    @EXT_IMPEXP@ $(DESTDIR)$(drvdir)/@EXT_IMPEXP@
 		test -z "@EXT_CSVTABLE@" || \
 		    $(LIBTOOL) --mode=install $(INSTALL) \
-		    @EXT_CSVTABLE@ $(DESTDIR)$(drvdir)
+		    @EXT_CSVTABLE@ $(DESTDIR)$(drvdir)/@EXT_CSVTABLE@
 		test -z "@EXT_ZIPFILE@" || \
 		    $(LIBTOOL) --mode=install $(INSTALL) \
-		    @EXT_ZIPFILE@ $(DESTDIR)$(drvdir)
+		    @EXT_ZIPFILE@ $(DESTDIR)$(drvdir)/@EXT_ZIPFILE@
 		test -z "@EXT_XPATH@" || \
 		    $(LIBTOOL) --mode=install $(INSTALL) \
-		    @EXT_XPATH@ $(DESTDIR)$(drvdir)
+		    @EXT_XPATH@ $(DESTDIR)$(drvdir)/@EXT_XPATH@
 
 uninstall-3:
 		$(LIBTOOL) --mode=uninstall \
@@ -200,7 +200,7 @@ drvuninst-3:	uninstall-3
 
 install-4:	libsqlite4odbc.la
 		$(LIBTOOL) --mode=install $(INSTALL) \
-		    libsqlite4odbc.la $(DESTDIR)$(drvdir)
+		    libsqlite4odbc.la $(DESTDIR)$(drvdir)/libsqlite4odbc.la
 
 uninstall-4:
 		$(LIBTOOL) --mode=uninstall \