Commit 4713a367 authored by Rafaël Carré's avatar Rafaël Carré

fix dependancies

fix pcre cross compilation
fix asa cross compilation (you'll have to copy a tool from your natively compiled copy of asa)
parent 4c2230da
...@@ -441,7 +441,7 @@ fontconfig: fontconfig-$(FONTCONFIG_VERSION).tar.gz Patches/fontconfig.patch ...@@ -441,7 +441,7 @@ fontconfig: fontconfig-$(FONTCONFIG_VERSION).tar.gz Patches/fontconfig.patch
patch -p0 < Patches/fontconfig.patch patch -p0 < Patches/fontconfig.patch
patch -p0 < Patches/fontconfig-nodocs.patch patch -p0 < Patches/fontconfig-nodocs.patch
.fontconfig: fontconfig .fontconfig: fontconfig .xml .freetype
ifdef HAVE_WIN32 ifdef HAVE_WIN32
ifdef HAVE_CYGWIN ifdef HAVE_CYGWIN
(cd $<; autoreconf && LIBXML2_CFLAGS=`$(PREFIX)/bin/xml2-config --cflags` ./configure --target=$(HOST) --disable-pic --disable-shared --disable-docs --with-cache-dir=WINDOWSTEMPDIR --with-arch=i686 --prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 && make && make install) (cd $<; autoreconf && LIBXML2_CFLAGS=`$(PREFIX)/bin/xml2-config --cflags` ./configure --target=$(HOST) --disable-pic --disable-shared --disable-docs --with-cache-dir=WINDOWSTEMPDIR --with-arch=i686 --prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 && make && make install)
...@@ -584,7 +584,7 @@ pcre: pcre-$(PCRE_VERSION).tar.bz2 ...@@ -584,7 +584,7 @@ pcre: pcre-$(PCRE_VERSION).tar.bz2
$(EXTRACT_BZ2) $(EXTRACT_BZ2)
.pcre: pcre .pcre: pcre
(cd $<; ./configure --prefix=$(PREFIX) --disable-shared && $(HOSTCC) make && make install ) (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-shared && make && make install )
touch $@ touch $@
CLEAN_FILE += .pcre CLEAN_FILE += .pcre
...@@ -2329,8 +2329,10 @@ asa: asa.git.tar.gz ...@@ -2329,8 +2329,10 @@ asa: asa.git.tar.gz
$(EXTRACT_GZ) $(EXTRACT_GZ)
patch -p0 < Patches/asa-git.diff patch -p0 < Patches/asa-git.diff
.asa: asa .fontconfig .pcre .asa: asa .fontconfig .pcre .iconv
(cd $<; ./bootstrap; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) && make && make install) (cd $<; ./bootstrap; $(HOSTCC) CFLAGS="$(CFLAGS) -DPCRE_STATIC" ./configure $(HOSTCONF) --prefix=$(PREFIX))
(cd $</lib/import; echo "Please copy a ./prepare file you built for your host into asa/lib/import"; echo "When you are finished, press enter." ; echo "If you are building on Windows, press enter." ; read i ; make)
(cd $<; make && make install)
$(INSTALL_NAME) $(INSTALL_NAME)
touch $@ touch $@
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment