use the autotools for package vmime

This commit is contained in:
Volker Grabsch 2010-02-05 02:32:29 +01:00
parent d801a1c723
commit 785fa9788f
3 changed files with 10 additions and 62823 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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

View File

@ -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'