X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fdnsmasq;h=29fb9b38dfc3c7b10f9054b451226c4a4d4c3a5d;hb=d5e94f72f6fe617f5b1653eaa24fbe0fdc3dde3b;hp=354665904614f78db9316c292ac3b54dc7674e61;hpb=fbbab534f4956373424d68f1ffa4d33fe3549b77;p=ipfire-2.x.git diff --git a/lfs/dnsmasq b/lfs/dnsmasq index 3546659046..29fb9b38df 100644 --- a/lfs/dnsmasq +++ b/lfs/dnsmasq @@ -70,10 +70,12 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @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 HAVE_TFTP *$$|//#define HAVE_TFTP|' \ -e 's/^#define CHUSER .*$$/#define CHUSER "dnsmasq"/' config.h cd $(DIR_APP) && make $(MAKETUNING) - cd $(DIR_APP) && PREFIX=/usr make install + cd $(DIR_APP) && make install @rm -rf $(DIR_APP) @$(POSTBUILD)