[57940] trunk/dports/mail/libesmtp
blb at macports.org
blb at macports.org
Sat Sep 19 01:23:13 PDT 2009
Revision: 57940
http://trac.macports.org/changeset/57940
Author: blb at macports.org
Date: 2009-09-19 01:23:10 -0700 (Sat, 19 Sep 2009)
Log Message:
-----------
mail/libesmtp - fix build on 10.6 (by properly detecting snprintf and vsnprintf), and depend on openssl since it links to it when available; not awaiting maintainer since port is busted
Modified Paths:
--------------
trunk/dports/mail/libesmtp/Portfile
Added Paths:
-----------
trunk/dports/mail/libesmtp/files/patch-configure.in.diff
Modified: trunk/dports/mail/libesmtp/Portfile
===================================================================
--- trunk/dports/mail/libesmtp/Portfile 2009-09-19 08:09:33 UTC (rev 57939)
+++ trunk/dports/mail/libesmtp/Portfile 2009-09-19 08:23:10 UTC (rev 57940)
@@ -3,6 +3,7 @@
PortSystem 1.0
name libesmtp
version 1.0.4
+revision 1
categories mail
maintainers noses.com:noses
description ESMTP library
@@ -26,7 +27,10 @@
checksums md5 8b4e8a794adc46268f0c6a0b3fb79486
+depends_lib port:openssl
+
patchfiles patch-auth-client.c patch-errors.c patch-headers.c patch-htable.c \
patch-protocol.c patch-rfc2822date.c patch-smtp-auth.c \
- patch-smtp-tls.c
+ patch-smtp-tls.c patch-configure.in.diff
+use_autoreconf yes
Added: trunk/dports/mail/libesmtp/files/patch-configure.in.diff
===================================================================
--- trunk/dports/mail/libesmtp/files/patch-configure.in.diff (rev 0)
+++ trunk/dports/mail/libesmtp/files/patch-configure.in.diff 2009-09-19 08:23:10 UTC (rev 57940)
@@ -0,0 +1,11 @@
+--- configure.in.orig 2005-12-15 13:37:42.000000000 -0700
++++ configure.in 2009-09-19 02:11:26.000000000 -0600
+@@ -538,7 +538,7 @@
+ dnl #########################################################################
+
+ AC_REPLACE_FUNCS(strdup strcasecmp strncasecmp memrchr)
+-AC_CHECK_FUNCS(strtol uname gethostname gettimeofday)
++AC_CHECK_FUNCS(strtol uname gethostname gettimeofday snprintf vsnprintf)
+ AC_SEARCH_LIBS(socket, socket)
+
+ dnl Conditional check for functions needed in threaded code
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090919/ea80c76e/attachment.html>
More information about the macports-changes
mailing list