summaryrefslogtreecommitdiff
path: root/packages/esmtp/esmtp-0.5.1/configure.patch
diff options
context:
space:
mode:
authorStelios Koroneos <skoroneos@digital-opsis.com>2006-08-28 21:31:21 +0000
committerStelios Koroneos <skoroneos@digital-opsis.com>2006-08-28 21:31:21 +0000
commitfef0035db932ea55dc0783e175aa6ee359bffb84 (patch)
tree89b44ea3d09c08e7f4765edea19b638687d68aab /packages/esmtp/esmtp-0.5.1/configure.patch
parentfe776c91a3769970513c59e4106b7e675fe92f0e (diff)
esmtp 0.5.1 patch for uclibc
Diffstat (limited to 'packages/esmtp/esmtp-0.5.1/configure.patch')
-rw-r--r--packages/esmtp/esmtp-0.5.1/configure.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/esmtp/esmtp-0.5.1/configure.patch b/packages/esmtp/esmtp-0.5.1/configure.patch
new file mode 100644
index 0000000000..ef6244a935
--- /dev/null
+++ b/packages/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 )
+