diff options
| author | Chris Rees <crees@FreeBSD.org> | 2012-04-18 08:56:02 +0000 |
|---|---|---|
| committer | Chris Rees <crees@FreeBSD.org> | 2012-04-18 08:56:02 +0000 |
| commit | f411d5262349c7ef4e8641514abf714b32d0ada7 (patch) | |
| tree | 54448f4f3d857aeba0e5b70317b59be221e92bd5 /mail/qpopper/files/patch-configure.in | |
| parent | - Update to 0.7.4.1 (diff) | |
Qpopper's configure script tries to detect sendmail in a number of common
paths, but the first guess will always fail, because sbindir contains an
embedded shell variable.
As a result, systems without base sendmail (more specifically, without
/usr/sbin/sendmail) will fail configure step.
Additional info:
http://lists.freebsd.org/pipermail/freebsd-ports/2012-March/073828.html
PR: ports/166108
Submitted by: Mel Flynn <rflynn@acsalaska.net>
Approved by: maintainer timeout (14+ days)
Notes
Notes:
svn path=/head/; revision=295003
Diffstat (limited to '')
| -rw-r--r-- | mail/qpopper/files/patch-configure.in | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/mail/qpopper/files/patch-configure.in b/mail/qpopper/files/patch-configure.in index 1557cb1f5d4d..24a6d5e8e838 100644 --- a/mail/qpopper/files/patch-configure.in +++ b/mail/qpopper/files/patch-configure.in @@ -1,10 +1,30 @@ ---- configure.in.orig Sat May 5 14:32:51 2001 -+++ configure.in Sat May 5 14:33:32 2001 -@@ -1257,7 +1257,6 @@ +--- configure.in.orig 2011-05-30 11:13:39.000000000 -0800 ++++ configure.in 2012-03-14 10:38:44.000000000 -0800 +@@ -1409,14 +1409,14 @@ + dnl + + AC_MSG_CHECKING([for sendmail program]) +-if test -f ${sbindir}/sendmail +-then +- AC_DEFINE(MAIL_COMMAND, "${sbindir}/sendmail") +- AC_MSG_RESULT([found at ${sbindir}/sendmail]) +-elif test -f /usr/sbin/sendmail ++if test -f /usr/sbin/sendmail + then + AC_DEFINE(MAIL_COMMAND, "/usr/sbin/sendmail") + AC_MSG_RESULT([found at /usr/sbin/sendmail]) ++elif test -f ${sbindir}/sendmail ++then ++ AC_DEFINE(MAIL_COMMAND, "${sbindir}/sendmail") ++ AC_MSG_RESULT([found at ${sbindir}/sendmail]) + elif test -f /usr/lib/sendmail + then + AC_DEFINE(MAIL_COMMAND, "/usr/lib/sendmail") +@@ -1508,7 +1508,6 @@ ) AC_CHECK_HEADER( ndbm.h, NDBM_H="yes"; AC_DEFINE(HAVE_NDBM_H), NDBM_H="no" ) -AC_CHECK_HEADER( gdbm.h, GDBM_H="yes"; AC_DEFINE(HAVE_GDBM_H), GDBM_H="no" ) AC_CHECK_HEADER( dbm.h, DBM_H="yes"; AC_DEFINE(HAVE_DBM_H), DBM_H="no" ) - + AC_CHECK_TYPES( socklen_t, , , [#include <sys/socket.h>] )
\ No newline at end of file |
