mirror of https://git.wownero.com/dsc/mxe.git
use the autotools for package vmime
This commit is contained in:
parent
d801a1c723
commit
785fa9788f
File diff suppressed because it is too large
Load Diff
|
@ -4,6 +4,15 @@ See doc/index.html or doc/README for further information.
|
|||
diff -urN a/configure.in c/configure.in
|
||||
--- libvmime-0.9.0.orig/configure.in 2008-10-19 14:36:08.000000000 +0200
|
||||
+++ libvmime-0.9.0/configure.in 2009-12-04 14:55:17.000000000 +0100
|
||||
@@ -125,7 +125,7 @@
|
||||
$CXX -c $CFLAGS $CPPFLAGS mytest.$ac_ext >&5
|
||||
sh libtool --mode=link $CXX -o mytest mytest.o libtest.la >&5 2>/dev/null
|
||||
|
||||
-if test -x mytest; then
|
||||
+if test -x mytest -a "$cross_compiling" != yes; then
|
||||
myresult=`./mytest`
|
||||
if test "X$myresult" = "XPASS"; then
|
||||
AC_MSG_RESULT(yes)
|
||||
@@ -369,7 +369,7 @@
|
||||
|
||||
if test "x$conf_tls" = "xyes"; then
|
|
@ -19,6 +19,7 @@ define $(PKG)_UPDATE
|
|||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
cd '$(1)' && ./bootstrap
|
||||
cd '$(1)' && ./configure \
|
||||
--prefix='$(PREFIX)/$(TARGET)' \
|
||||
--host='$(TARGET)' \
|
||||
|
@ -27,10 +28,6 @@ define $(PKG)_BUILD
|
|||
--disable-rpath \
|
||||
--disable-dependency-tracking
|
||||
|
||||
# Add the missing "a" suffix for the library.
|
||||
# Otherwise, we get a "libvmime.la" that refers to "libvimime."
|
||||
$(SED) 's/^libext=$$/libext=a/;' -i '$(1)/libtool'
|
||||
|
||||
# Disable VMIME_HAVE_MLANG_H
|
||||
# We have the header, but there is no implementation for IMultiLanguage in MinGW
|
||||
$(SED) 's,^#define VMIME_HAVE_MLANG_H 1$$,,' -i '$(1)/vmime/config.hpp'
|
||||
|
|
Loading…
Reference in New Issue