cd $(DIR_APP) && patch -Np1 < $(DIR_PATCHES)/$(THISAPP)-fixes-8.patch
ifeq "$(STAGE)" "toolchain"
- cd $(DIR_APP) && ./configure \
- --prefix=$(TOOLS_DIR) \
- --without-bash-malloc \
- --with-curses
+ cd $(DIR_APP) && \
+ ac_cv_func_working_mktime=yes \
+ ./configure \
+ --prefix=$(TOOLS_DIR) \
+ --without-bash-malloc \
+ --with-curses
cd $(DIR_APP) && make #$(PARALLELISMFLAGS)
cd $(DIR_APP) && make install
ln -sf bash $(TOOLS_DIR)/bin/sh
cd $(DIR_APP) && sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/$(THISAPP)|" \
Makefile.in
cd $(DIR_APP) && patch -Np1 < $(DIR_PATCHES)/$(THISAPP)-arc4random-1.patch
- cd $(DIR_APP) && ./configure --prefix=/usr --bindir=/bin \
- --without-bash-malloc --with-installed-readline
+ cd $(DIR_APP) && \
+ ac_cv_func_working_mktime=yes \
+ ./configure \
+ --prefix=/usr \
+ --bindir=/bin \
+ --without-bash-malloc \
+ --with-installed-readline
cd $(DIR_APP) && make #$(PARALLELISMFLAGS)
cd $(DIR_APP) && make install
endif
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
ifeq "$(STAGE)" "toolchain"
- cd $(DIR_APP) && ./configure --prefix=$(TOOLS_DIR)
+ cd $(DIR_APP) && \
+ ac_cv_func_working_mktime=yes \
+ ./configure \
+ --prefix=$(TOOLS_DIR)
cd $(DIR_APP) && echo "#define HAVE_LANGINFO_CODESET 1" >> config.h
cd $(DIR_APP) && echo "#define HAVE_LC_MESSAGES 1" >> config.h
cd $(DIR_APP) && make $(PARALLELISMFLAGS)
endif
ifeq "$(STAGE)" "base"
- cd $(DIR_APP) && ./configure --prefix=/usr --libexecdir=/usr/lib
+ cd $(DIR_APP) && \
+ ac_cv_func_working_mktime=yes \
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib
cd $(DIR_APP) && echo "#define HAVE_LANGINFO_CODESET 1" >> config.h
cd $(DIR_APP) && echo "#define HAVE_LC_MESSAGES 1" >> config.h
cd $(DIR_APP) && make $(PARALLELISMFLAGS)