protobuf-c: use generic autoreconf fixup
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 10 Jan 2015 22:58:36 +0000 (23:58 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 11 Jan 2015 17:19:19 +0000 (18:19 +0100)
Invoke the generic autoreconf fixup instead of calling the shipped autogen.sh.

This ensures that proper variants of libtoolize, autoconf, automake etc. are
used, otherwise it is not possible to rebuild protobuf-c in the SDK env.

The change requires backport to BB as it currently blocks the rebuild of ocerv.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
libs/protobuf-c/Makefile

index 9a4cc36cfd75f6a1bc7baaa15908235cd82add02..6be64e530a3a24629e2c926f605c928b5a7231d8 100644 (file)
@@ -18,6 +18,7 @@ PKG_SOURCE_PROTO:=git
 PKG_SOURCE_VERSION:=6136f54b221ab8883731349d01f34b01812e391d
 
 PKG_INSTALL:=1
+PKG_FIXUP:=autoreconf
 
 PKG_MAINTAINER:=Jacob Siverskog <jacob@teenageengineering.com>
 
@@ -42,11 +43,6 @@ CONFIGURE_ARGS += \
        --enable-static \
        --disable-protoc
 
-define Build/Configure
-       cd $(PKG_BUILD_DIR) && ./autogen.sh
-       $(call Build/Configure/Default)
-endef
-
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include/
        $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/