gdbm: allow autoreconf, fix shell
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 11 Dec 2010 00:11:36 +0000 (00:11 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 11 Dec 2010 00:11:36 +0000 (00:11 +0000)
SVN-Revision: 24467

libs/gdbm/Makefile
libs/gdbm/patches/100-fix-build-with-libtool2.patch

index d9bc342f64643ec9b86f05b64434e09511010b47..9d9c58cc0111fd97a8bfb9026b91418f5b07b03a 100644 (file)
@@ -15,7 +15,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/gdbm
 PKG_MD5SUM:=1d1b1d5c0245b1c00aff92da751e9aa1
 
-PKG_FIXUP:=libtool no-autoreconf
+PKG_FIXUP:=libtool
 PKG_BUILD_PARALLEL:=1
 
 include $(INCLUDE_DIR)/package.mk
index b83cfd6d4d31d1501f41f34e9933df3700cf57d0..85019713007bfad0d5510561b5016a2e11a85780 100644 (file)
@@ -1,7 +1,15 @@
-diff -urN gdbm-1.8.3.ori/Makefile.in gdbm-1.8.3.new/Makefile.in
---- gdbm-1.8.3.ori/Makefile.in 2002-10-08 18:09:12.000000000 +0200
-+++ gdbm-1.8.3.new/Makefile.in 2009-04-29 10:14:48.000000000 +0200
-@@ -130,7 +130,7 @@
+--- 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)
@@ -10,7 +18,7 @@ diff -urN gdbm-1.8.3.ori/Makefile.in gdbm-1.8.3.new/Makefile.in
        $(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 @@
+@@ -141,7 +141,7 @@ install: libgdbm.la gdbm.h gdbm.info
  install-compat:
        $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \
                $(INSTALL_ROOT)$(includedir)