diff --git a/package/xtables-addons/xtables-addons.mk b/package/xtables-addons/xtables-addons.mk index feed054e88..b3d1bf2d44 100644 --- a/package/xtables-addons/xtables-addons.mk +++ b/package/xtables-addons/xtables-addons.mk @@ -17,10 +17,10 @@ XTABLES_ADDONS_CONF_OPTS = \ --with-xtlibdir="/usr/lib/xtables" # geoip helpers need perl with modules and unzip so disable -define XTABLES_DISABLE_GEOIP_HELPERS +define XTABLES_ADDONS_DISABLE_GEOIP_HELPERS $(SED) 's/ geoip//' $(@D)/Makefile.in endef -XTABLES_ADDONS_POST_PATCH_HOOKS += XTABLES_DISABLE_GEOIP_HELPERS +XTABLES_ADDONS_POST_PATCH_HOOKS += XTABLES_ADDONS_DISABLE_GEOIP_HELPERS define XTABLES_ADDONS_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS)