# HG changeset patch # User John Donoghue # Date 1380245108 14400 # Node ID 869f160d71b67c784fccca7464b951706d7a96d0 # Parent 7fb479d0241c149e95dbbc76a391f0140998d2f4# Parent a3df5e820bcd46d0f44fc85a496174bac190998b Merge away extra head diff -r a3df5e820bcd -r 869f160d71b6 Makefile.in --- a/Makefile.in Thu Sep 26 20:22:36 2013 +0000 +++ b/Makefile.in Thu Sep 26 21:25:08 2013 -0400 @@ -132,6 +132,11 @@ REQUIREMENTS += bsdtar endif +# if we want jit (llvm) we need python +ifeq ($(ENABLE_JIT),yes) + REQUIREMENTS += python +endif + LIBTOOL := libtool LIBTOOLIZE := libtoolize @@ -146,6 +151,18 @@ REQUIREMENTS += flex BUILD_TOOLS := $(filter-out build-flex, $(BUILD_TOOLS)) endif +# Building bison for native mingw creates a bison that doesnt +# allow push-pull mode so disable +ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) + REQUIREMENTS += bison + BUILD_TOOLS := $(filter-out build-bison, $(BUILD_TOOLS)) +endif +# use the msys m4 in native mingw +ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) + REQUIREMENTS += m4 +endif + + ifeq ($(USE_SYSTEM_GCC),yes) BUILD_TOOLS := $(filter-out $(BUILD_COMPILER_TOOLS), $(BUILD_TOOLS)) endif diff -r a3df5e820bcd -r 869f160d71b6 index.html --- a/index.html Thu Sep 26 20:22:36 2013 +0000 +++ b/index.html Thu Sep 26 21:25:08 2013 -0400 @@ -767,12 +767,15 @@
mingw-get upgrade

And then get required packages. -

mingw-get install autoconf bash msys-flex gcc gcc-c++ \
+    
mingw-get install autoconf bash msys-bison msys-flex gcc gcc-c++ \
 	      gcc-fortran gettext msys-m4 msys-make msys-sed \
 	      libiconv msys-openssl msys-patch msys-perl \
               msys-libarchive msys-unzip msys-wget msys-bsdtar
     

+ You will also need to install Windows versions of python + and ghostscript and ensure they are in visisble in the PATH. +

openSUSE

diff -r a3df5e820bcd -r 869f160d71b6 src/build-m4.mk --- a/src/build-m4.mk Thu Sep 26 20:22:36 2013 +0000 +++ b/src/build-m4.mk Thu Sep 26 21:25:08 2013 -0400 @@ -14,6 +14,11 @@ echo $($(PKG)_VERSION) endef +ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) +define $(PKG)_BUILD + echo "Ignoring build-m4 for native mingw build" +endef +else define $(PKG)_BUILD mkdir '$(1).build' cd '$(1).build' && '$(1)/configure' \ @@ -21,3 +26,4 @@ $(MAKE) -C '$(1).build' -j '$(JOBS)' $(MAKE) -C '$(1).build' -j 1 install endef +endif