flm01/mote/v2/openwrt/package/gdbm/patches/.svn/text-base/100-fix-build-with-libtool2...

30 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

--- a/Makefile.in
+++ b/Makefile.in
@@ -55,7 +55,7 @@ manext = 3
.c.lo:
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(DEFS) -I. -I$(srcdir) $(CFLAGS) $<
-SHELL = /bin/sh
+SHELL = @SHELL@
PROGS = libgdbm.la testgdbm testdbm testndbm tndbm tdbm conv2gdbm
@@ -130,7 +130,7 @@ install: libgdbm.la gdbm.h gdbm.info
$(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \
$(INSTALL_ROOT)$(includedir) $(INSTALL_ROOT)$(man3dir) \
$(INSTALL_ROOT)$(infodir)
- $(LIBTOOL) $(INSTALL) -c libgdbm.la $(INSTALL_ROOT)$(libdir)/libgdbm.la
+ $(LIBTOOL) --mode=install $(INSTALL) -c libgdbm.la $(INSTALL_ROOT)$(libdir)/libgdbm.la
$(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) gdbm.h \
$(INSTALL_ROOT)$(includedir)/gdbm.h
$(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.3 \
@@ -141,7 +141,7 @@ install: libgdbm.la gdbm.h gdbm.info
install-compat:
$(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \
$(INSTALL_ROOT)$(includedir)
- $(LIBTOOL) $(INSTALL) -c libgdbm_compat.la \
+ $(LIBTOOL) --mode=install $(INSTALL) -c libgdbm_compat.la \
$(INSTALL_ROOT)$(libdir)/libgdbm_compat.la
$(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/dbm.h \
$(INSTALL_ROOT)$(includedir)/dbm.h