diff --git a/lfs/dnsmasq b/lfs/dnsmasq index 4429117dd..e3b710115 100644 --- a/lfs/dnsmasq +++ b/lfs/dnsmasq @@ -72,8 +72,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && sed -i -e 's|/usr/local|/usr|g' Makefile cd $(DIR_APP)/src && sed -i \ + -e 's|^\/\* #define HAVE_ISC_READER .*$$|#define HAVE_ISC_READER\n#define NO_IPV6|' \ -e 's/^#define CHUSER .*$$/#define CHUSER "dnsmasq"/' config.h - cd $(DIR_APP) && COPTS="-DNO_IPV6" make $(MAKETUNING) + cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP) @$(POSTBUILD)