Mercurial > mxe-octave
comparison src/vmime.mk @ 745:8ea29766f021
upgrade package vmime to 0.9.1-svn-r533
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Mon, 15 Feb 2010 11:05:16 +0100 |
parents | 786f0c619b86 |
children | bf4bcb3370fa |
comparison
equal
deleted
inserted
replaced
744:b09aadb3810b | 745:8ea29766f021 |
---|---|
24 # ansi and pedantic are too strict for mingw. | 24 # ansi and pedantic are too strict for mingw. |
25 # http://sourceforge.net/tracker/index.php?func=detail&aid=2373234&group_id=2435&atid=102435 | 25 # http://sourceforge.net/tracker/index.php?func=detail&aid=2373234&group_id=2435&atid=102435 |
26 $(SED) "s/'-ansi', //;" -i '$(1)/SConstruct' | 26 $(SED) "s/'-ansi', //;" -i '$(1)/SConstruct' |
27 $(SED) "s/'-pedantic', //;" -i '$(1)/SConstruct' | 27 $(SED) "s/'-pedantic', //;" -i '$(1)/SConstruct' |
28 $(SED) 's/pkg-config/$(TARGET)-pkg-config/g;' -i '$(1)/SConstruct' | 28 $(SED) 's/pkg-config/$(TARGET)-pkg-config/g;' -i '$(1)/SConstruct' |
29 $(SED) 's/^sh libtool/sh libtool --tag=CXX/g;' -i '$(1)/SConstruct' | |
30 | 29 |
31 cd '$(1)' && scons autotools \ | 30 cd '$(1)' && scons autotools \ |
32 prefix='$(PREFIX)/$(TARGET)' \ | 31 prefix='$(PREFIX)/$(TARGET)' \ |
33 target='$(TARGET)' \ | 32 target='$(TARGET)' \ |
34 sendmail_path=/sbin/sendmail | 33 sendmail_path=/sbin/sendmail |
35 | 34 |
36 $(SED) 's,libtoolize ,$(LIBTOOLIZE) ,' -i '$(1)'/bootstrap | 35 $(SED) 's,libtoolize ,$(LIBTOOLIZE) ,' -i '$(1)'/bootstrap |
36 $(SED) 's,/bin/bash,/usr/bin/env bash,' -i '$(1)'/bootstrap | |
37 cd '$(1)' && ./bootstrap | 37 cd '$(1)' && ./bootstrap |
38 cd '$(1)' && ./configure \ | 38 cd '$(1)' && ./configure \ |
39 --prefix='$(PREFIX)/$(TARGET)' \ | 39 --prefix='$(PREFIX)/$(TARGET)' \ |
40 --host='$(TARGET)' \ | 40 --host='$(TARGET)' \ |
41 --disable-shared \ | 41 --disable-shared \ |
42 --enable-platform-windows \ | 42 --enable-platform-windows \ |
43 --disable-rpath \ | 43 --disable-rpath \ |
44 --disable-dependency-tracking \ | 44 --disable-dependency-tracking |
45 CC='$(TARGET)-gcc' \ | |
46 CXX='$(TARGET)-g++' \ | |
47 CPP='$(TARGET)-gcc -E' \ | |
48 CXXPP='$(TARGET)-g++ -E' \ | |
49 PKG_CONFIG='$(TARGET)-pkg-config' | |
50 | 45 |
51 # Disable VMIME_HAVE_MLANG_H | 46 # Disable VMIME_HAVE_MLANG_H |
52 # We have the header, but there is no implementation for IMultiLanguage in MinGW | 47 # We have the header, but there is no implementation for IMultiLanguage in MinGW |
53 $(SED) 's,^#define VMIME_HAVE_MLANG_H 1$$,,' -i '$(1)/vmime/config.hpp' | 48 $(SED) 's,^#define VMIME_HAVE_MLANG_H 1$$,,' -i '$(1)/vmime/config.hpp' |
54 | 49 |