- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-ifeq "$(LFS_PASS)" "install"
- cd $(DIR_APP) && ./configure --prefix=/ --disable-nls --disable-ipv6
- cd $(DIR_APP) && make $(MAKETUNING)
- cd $(DIR_APP)/src && install -m 755 wget /install/initrd/bin
-else
- cd $(DIR_APP) && ./configure --prefix=/usr --with-ssl \
- --disable-nls --disable-ipv6
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE)
+
+ cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/wget-1.14-texi2pod-1.patch
+
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-ssl=openssl \
+ --disable-nls \
+ --disable-ipv6
+