aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/esmtp/esmtp-0.5.1/configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/esmtp/esmtp-0.5.1/configure.patch')
-rw-r--r--recipes/esmtp/esmtp-0.5.1/configure.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/esmtp/esmtp-0.5.1/configure.patch b/recipes/esmtp/esmtp-0.5.1/configure.patch
new file mode 100644
index 0000000000..ef6244a935
--- /dev/null
+++ b/recipes/esmtp/esmtp-0.5.1/configure.patch
@@ -0,0 +1,22 @@
+--- /orig-configure.ac 2005-02-15 18:43:40.000000000 +0200
++++ /configure.ac 2006-08-19 13:05:52.000000000 +0300
+@@ -29,16 +29,9 @@
+ LDFLAGS="$LDFLAGS -L$with_libesmtp/lib"
+ AC_CHECK_HEADER(libesmtp.h, ,[AC_MSG_ERROR([libesmtp.h not found in $with_libesmtp])])
+ fi
+-AC_MSG_CHECKING(for libESMTP)
+-if libesmtp-config --version > /dev/null 2>&1
+-then
+- AC_MSG_RESULT(yes)
+- CFLAGS="$CFLAGS `libesmtp-config --cflags`"
+- LIBS="$LIBS `libesmtp-config --libs`"
+-else
+- AC_MSG_RESULT(no)
+- AC_MSG_ERROR(libESMTP library not found)
+-fi
++
++ CFLAGS="$CFLAGS"
++ LIBS="$LIBS -lesmtp -lssl -lcrypto -ldl"
+
+ AC_SUBST( sysconfdir )
+