Revert "Fix dnsmasq IPV6 disabling"

This reverts commit 216a898de7.

This is not needed for dnsmasq 2.45
This commit is contained in:
Arne Fitzenreiter
2009-10-15 15:56:15 +02:00
parent ee974f39e4
commit d0bc65bd67

View File

@@ -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)