diff --git a/net/modemmanager/Makefile b/net/modemmanager/Makefile index 44481500c..5bd64bde8 100644 --- a/net/modemmanager/Makefile +++ b/net/modemmanager/Makefile @@ -20,6 +20,7 @@ PKG_MAINTAINER:=Nicholas Smith PKG_LICENSE:=GPL-2.0-or-later PKG_LICENSE_FILES:=COPYING +PKG_FIXUP:=autoreconf PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 PKG_BUILD_DEPENDS:=glib2/host libxslt/host @@ -75,6 +76,10 @@ define Build/Prepare ( cd "$(PKG_BUILD_DIR)"; \ printf "all:\ninstall:\n" >po/Makefile.in.in; \ ) + $(SED) 's|^\(GLIB_MKENUMS\)=.*|\1=$(STAGING_DIR_HOSTPKG)/bin/glib-mkenums|' \ + $(PKG_BUILD_DIR)/configure.ac + $(SED) 's|^\(GDBUS_CODEGEN\)=.*|\1=$(STAGING_DIR_HOSTPKG)/bin/gdbus-codegen|' \ + $(PKG_BUILD_DIR)/configure.ac endef define Build/InstallDev