]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/dnsmasq
Revert "Fix dnsmasq IPV6 disabling"
[people/pmueller/ipfire-2.x.git] / lfs / dnsmasq
index 4429117dd6e26a186ca6f702da78bdd91484b7a0..e3b710115e5ffcf5eafc1ecf306d157185560cee 100644 (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)