diff options
author | obache <obache@pkgsrc.org> | 2011-04-14 12:23:40 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-04-14 12:23:40 +0000 |
commit | cfb81bba15701eaee0b9ec7138ab3e0bdb79648e (patch) | |
tree | ffb14131ecc41c09b61d7c6bdf2425b30043050b /mail/cyrus-imapd24/patches | |
parent | 0055c4c8ef9bb79b92e0346fc6b9dcf6298eb902 (diff) | |
download | pkgsrc-cfb81bba15701eaee0b9ec7138ab3e0bdb79648e.tar.gz |
Fixes build on DragonFly.
Diffstat (limited to 'mail/cyrus-imapd24/patches')
-rw-r--r-- | mail/cyrus-imapd24/patches/patch-aa | 17 | ||||
-rw-r--r-- | mail/cyrus-imapd24/patches/patch-ab | 19 |
2 files changed, 27 insertions, 9 deletions
diff --git a/mail/cyrus-imapd24/patches/patch-aa b/mail/cyrus-imapd24/patches/patch-aa index 48a2dc83410..e4a68fe6642 100644 --- a/mail/cyrus-imapd24/patches/patch-aa +++ b/mail/cyrus-imapd24/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.2 2010/11/30 00:45:56 obache Exp $ +$NetBSD: patch-aa,v 1.3 2011/04/14 12:23:40 obache Exp $ ---- configure.in.orig 2010-11-29 13:28:06.000000000 +0000 +--- configure.in.orig 2011-04-13 14:35:22.000000000 +0000 +++ configure.in -@@ -391,7 +391,7 @@ if test "$sievedir" != "no"; then +@@ -395,7 +395,7 @@ if test "$sievedir" != "no"; then AC_CHECK_LIB(fl,main) AC_CHECK_HEADER(pcreposix.h) @@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.2 2010/11/30 00:45:56 obache Exp $ AC_MSG_CHECKING(for utf8 enabled pcre) AC_CACHE_VAL(cyrus_cv_pcre_utf8, AC_TRY_CPP([#include <pcreposix.h> #ifndef REG_UTF8 -@@ -401,13 +401,13 @@ if test "$sievedir" != "no"; then +@@ -405,13 +405,13 @@ if test "$sievedir" != "no"; then else cyrus_cv_pcre_utf8="no" fi @@ -27,3 +27,12 @@ $NetBSD: patch-aa,v 1.2 2010/11/30 00:45:56 obache Exp $ LIBS="$LIBS -lrx" AC_DEFINE(ENABLE_REGEX, [], [Do we have a regex library?]) +@@ -1161,7 +1161,7 @@ dnl add perl cccdlflags when building li + dnl libraries will be compiled as PIC if perl requires PIC objects + dnl -- this is needed on NetBSD and Linux, but seems to cause problems on atleast Solaris -- + case "${target_os}" in +- linux*|netbsd*) ++ linux*|netbsd*|dragonfly*) + AC_MSG_CHECKING(for perl cccdlflags needed on "${target_os}") + eval `${PERL} -V:cccdlflags` + PERL_CCCDLFLAGS="$cccdlflags" diff --git a/mail/cyrus-imapd24/patches/patch-ab b/mail/cyrus-imapd24/patches/patch-ab index e61b12d517b..0511d9f6df5 100644 --- a/mail/cyrus-imapd24/patches/patch-ab +++ b/mail/cyrus-imapd24/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.2 2010/11/30 00:45:56 obache Exp $ +$NetBSD: patch-ab,v 1.3 2011/04/14 12:23:40 obache Exp $ ---- configure.orig 2010-11-29 13:29:23.000000000 +0000 +--- configure.orig 2011-04-13 14:53:15.000000000 +0000 +++ configure -@@ -7156,7 +7156,7 @@ if test "x$ac_cv_header_pcreposix_h" = x +@@ -7179,7 +7179,7 @@ if test "x$ac_cv_header_pcreposix_h" = x fi @@ -11,7 +11,7 @@ $NetBSD: patch-ab,v 1.2 2010/11/30 00:45:56 obache Exp $ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utf8 enabled pcre" >&5 $as_echo_n "checking for utf8 enabled pcre... " >&6; } if test "${cyrus_cv_pcre_utf8+set}" = set; then : -@@ -7182,7 +7182,7 @@ $as_echo "$cyrus_cv_pcre_utf8" >&6; } +@@ -7205,7 +7205,7 @@ $as_echo "$cyrus_cv_pcre_utf8" >&6; } else cyrus_cv_pcre_utf8="no" fi @@ -20,7 +20,7 @@ $NetBSD: patch-ab,v 1.2 2010/11/30 00:45:56 obache Exp $ LIBS="$LIBS -lpcre -lpcreposix"; $as_echo "#define ENABLE_REGEX /**/" >>confdefs.h -@@ -7203,7 +7203,7 @@ fi +@@ -7226,7 +7226,7 @@ fi done @@ -29,3 +29,12 @@ $NetBSD: patch-ab,v 1.2 2010/11/30 00:45:56 obache Exp $ LIBS="$LIBS -lrx" $as_echo "#define ENABLE_REGEX /**/" >>confdefs.h +@@ -10469,7 +10469,7 @@ elif test "${with_perl}" != "no"; then + PERL_SUBDIRS="imap" + PERL="${with_perl}" + case "${target_os}" in +- linux*|netbsd*) ++ linux*|netbsd*|dragonfly*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl cccdlflags needed on \"${target_os}\"" >&5 + $as_echo_n "checking for perl cccdlflags needed on \"${target_os}\"... " >&6; } + eval `${PERL} -V:cccdlflags` |