aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cyrus-imapd23/files
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2004-03-08 01:39:03 +0800
committerume <ume@FreeBSD.org>2004-03-08 01:39:03 +0800
commitfd5682cb14851d42dc6070d911609ea936ad676a (patch)
tree0e0e11f9156d0e3d8b3b51b401ea793b9aff6f03 /mail/cyrus-imapd23/files
parentb02b31b5bccde66b5476ffbd9f35e45107735193 (diff)
downloadfreebsd-ports-gnome-fd5682cb14851d42dc6070d911609ea936ad676a.tar.gz
freebsd-ports-gnome-fd5682cb14851d42dc6070d911609ea936ad676a.tar.zst
freebsd-ports-gnome-fd5682cb14851d42dc6070d911609ea936ad676a.zip
make it buildable on ia64 and amd64.
(since I don't have ia64 nor amd64, I tested at least it doesn't break on i386.) Obtained from: NetBSD
Diffstat (limited to 'mail/cyrus-imapd23/files')
-rw-r--r--mail/cyrus-imapd23/files/extra-patch-configure.in21
-rw-r--r--mail/cyrus-imapd23/files/patch-ac30
-rw-r--r--mail/cyrus-imapd23/files/patch-lib::Makefile.in13
-rw-r--r--mail/cyrus-imapd23/files/patch-perl::sieve::lib::Makefile.in13
-rw-r--r--mail/cyrus-imapd23/files/patch-sieve::Makefile.in11
5 files changed, 84 insertions, 4 deletions
diff --git a/mail/cyrus-imapd23/files/extra-patch-configure.in b/mail/cyrus-imapd23/files/extra-patch-configure.in
new file mode 100644
index 000000000000..974d0c83fddb
--- /dev/null
+++ b/mail/cyrus-imapd23/files/extra-patch-configure.in
@@ -0,0 +1,21 @@
+Index: configure.in
+diff -u configure.in.orig configure.in
+--- configure.in.orig Wed Jan 7 07:08:07 2004
++++ configure.in Sun Mar 7 23:53:03 2004
+@@ -925,6 +925,8 @@
+ dnl and compile perl/cyradm
+ PERL_SUBDIRS="imap"
+ PERL="${with_perl}"
++ eval `${PERL} -V:cccdlflags`
++ PERL_CCCDLFLAGS="$cccdlflags"
+ fi
+
+ dnl for timsieved
+@@ -999,6 +1001,7 @@
+ AC_SUBST(PERL_SUBDIRS)
+ AC_SUBST(PERL_DEPSUBDIRS)
+ AC_SUBST(PERL)
++AC_SUBST(PERL_CCCDLFLAGS)
+
+ AH_TOP([
+ /* $Id: configure.in,v 1.277 2004/01/06 22:08:07 rjs3 Exp $ */
diff --git a/mail/cyrus-imapd23/files/patch-ac b/mail/cyrus-imapd23/files/patch-ac
index d33f3b7b0e55..a557cd828ee1 100644
--- a/mail/cyrus-imapd23/files/patch-ac
+++ b/mail/cyrus-imapd23/files/patch-ac
@@ -1,7 +1,16 @@
Index: configure
diff -u configure.orig configure
--- configure.orig Thu Jan 15 23:36:50 2004
-+++ configure Sat Jan 17 21:11:14 2004
++++ configure Sun Mar 7 23:46:32 2004
+@@ -308,7 +308,7 @@
+ # include <unistd.h>
+ #endif"
+
+-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os MAKEDEPEND cyrus_prefix service_path cyrus_user cyrus_group CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CPP EGREP AWK LIBOBJS LIB_SOCKET IPV6_OBJS PRE_SUBDIRS EXTRA_SUBDIRS DEPLIBS LOCALDEFS WITH_AUTH BDB_INC BDB_LIB CYRUSDB_OBJS SIEVE_LIBS SIEVE_CPPFLAGS YACC LEX LEXLIB LEX_OUTPUT_ROOT SIEVE_SUBDIRS WITH_NONBLOCK WITH_GMTOFF WITH_MAP WITH_LOCK cyrus_sigveclib WITH_PTS AFS_LIBS AFS_LDFLAGS LDAP_CPPFLAGS LDAP_LDFLAGS LDAP_LIBS SERVER_SUBDIRS OPENSSL_INC OPENSSL_LIB ZEPHYR_LIBS ZEPHYR_CPPFLAGS WITH_IDLE IMAP_PROGS COMPILE_ET COM_ERR_LIBS COM_ERR_LDFLAGS COM_ERR_CPPFLAGS LIB_CRYPT GSSAPI_LIBS GSSAPIBASE_LIBS LIB_DYN_SASL DYNSASLFLAGS LIB_SASL SASLFLAGS PERL MD5OBJ SNMP_SUBDIRS LIB_WRAP LIB_UCDSNMP LIB_RT IMAP_COM_ERR_LIBS IMAP_LIBS PERL_SUBDIRS PERL_DEPSUBDIRS LTLIBOBJS'
++ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os MAKEDEPEND cyrus_prefix service_path cyrus_user cyrus_group CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CPP EGREP AWK LIBOBJS LIB_SOCKET IPV6_OBJS PRE_SUBDIRS EXTRA_SUBDIRS DEPLIBS LOCALDEFS WITH_AUTH BDB_INC BDB_LIB CYRUSDB_OBJS SIEVE_LIBS SIEVE_CPPFLAGS YACC LEX LEXLIB LEX_OUTPUT_ROOT SIEVE_SUBDIRS WITH_NONBLOCK WITH_GMTOFF WITH_MAP WITH_LOCK cyrus_sigveclib WITH_PTS AFS_LIBS AFS_LDFLAGS LDAP_CPPFLAGS LDAP_LDFLAGS LDAP_LIBS SERVER_SUBDIRS OPENSSL_INC OPENSSL_LIB ZEPHYR_LIBS ZEPHYR_CPPFLAGS WITH_IDLE IMAP_PROGS COMPILE_ET COM_ERR_LIBS COM_ERR_LDFLAGS COM_ERR_CPPFLAGS LIB_CRYPT GSSAPI_LIBS GSSAPIBASE_LIBS LIB_DYN_SASL DYNSASLFLAGS LIB_SASL SASLFLAGS PERL MD5OBJ SNMP_SUBDIRS LIB_WRAP LIB_UCDSNMP LIB_RT IMAP_COM_ERR_LIBS IMAP_LIBS PERL_SUBDIRS PERL_DEPSUBDIRS LTLIBOBJS PERL_CCCDLFLAGS'
+ ac_subst_files=''
+
+ # Initialize some variables set by options.
@@ -6565,7 +6565,7 @@
BDB_LIBADD=""
fi
@@ -25,7 +34,16 @@ diff -u configure.orig configure
;
return 0;
}
-@@ -13854,7 +13854,7 @@
+@@ -13187,6 +13187,8 @@
+ EXTRA_SUBDIRS="${EXTRA_SUBDIRS} perl"
+ PERL_SUBDIRS="imap"
+ PERL="${with_perl}"
++ eval `${PERL} -V:cccdlflags`
++ PERL_CCCDLFLAGS="$cccdlflags"
+ fi
+
+ if test "$sievedir" != "no"; then
+@@ -13854,7 +13856,7 @@
#define HAVE_UCDSNMP 1
_ACEOF
@@ -34,3 +52,11 @@ diff -u configure.orig configure
echo "$as_me:$LINENO: checking for rpmdbOpen in -lrpm" >&5
echo $ECHO_N "checking for rpmdbOpen in -lrpm... $ECHO_C" >&6
if test "${ac_cv_lib_rpm_rpmdbOpen+set}" = set; then
+@@ -14660,6 +14662,7 @@
+ s,@LIB_SASL@,$LIB_SASL,;t t
+ s,@SASLFLAGS@,$SASLFLAGS,;t t
+ s,@PERL@,$PERL,;t t
++s,@PERL_CCCDLFLAGS@,$PERL_CCCDLFLAGS,;t t
+ s,@MD5OBJ@,$MD5OBJ,;t t
+ s,@SNMP_SUBDIRS@,$SNMP_SUBDIRS,;t t
+ s,@LIB_WRAP@,$LIB_WRAP,;t t
diff --git a/mail/cyrus-imapd23/files/patch-lib::Makefile.in b/mail/cyrus-imapd23/files/patch-lib::Makefile.in
new file mode 100644
index 000000000000..8243d414d431
--- /dev/null
+++ b/mail/cyrus-imapd23/files/patch-lib::Makefile.in
@@ -0,0 +1,13 @@
+Index: lib/Makefile.in
+diff -u lib/Makefile.in.orig lib/Makefile.in
+--- lib/Makefile.in.orig Sun Jan 4 00:16:44 2004
++++ lib/Makefile.in Sun Mar 7 23:44:51 2004
+@@ -60,7 +60,7 @@
+ CPPFLAGS = -I.. @CPPFLAGS@ @COM_ERR_CPPFLAGS@ @SASLFLAGS@
+ LIBS = @LIBS@
+
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ @PERL_CCCDLFLAGS@
+ LDFLAGS = @LDFLAGS@
+
+ SHELL = /bin/sh
diff --git a/mail/cyrus-imapd23/files/patch-perl::sieve::lib::Makefile.in b/mail/cyrus-imapd23/files/patch-perl::sieve::lib::Makefile.in
new file mode 100644
index 000000000000..28d4c44df294
--- /dev/null
+++ b/mail/cyrus-imapd23/files/patch-perl::sieve::lib::Makefile.in
@@ -0,0 +1,13 @@
+Index: perl/sieve/lib/Makefile.in
+diff -u perl/sieve/lib/Makefile.in.orig perl/sieve/lib/Makefile.in
+--- perl/sieve/lib/Makefile.in.orig Sun Jan 4 00:16:45 2004
++++ perl/sieve/lib/Makefile.in Sun Mar 7 23:42:37 2004
+@@ -55,7 +55,7 @@
+ IMAP_LIBS = @IMAP_LIBS@
+ DEPLIBS = ../../../lib/libcyrus.a ../../../lib/libcyrus_min.a @DEPLIBS@
+
+-CFLAGS = -g
++CFLAGS = -g @PERL_CCCDLFLAGS@
+ LDFLAGS = -g @LDFLAGS@
+
+ SHELL = /bin/sh
diff --git a/mail/cyrus-imapd23/files/patch-sieve::Makefile.in b/mail/cyrus-imapd23/files/patch-sieve::Makefile.in
index 52b3737e58bc..1462f8a955cc 100644
--- a/mail/cyrus-imapd23/files/patch-sieve::Makefile.in
+++ b/mail/cyrus-imapd23/files/patch-sieve::Makefile.in
@@ -1,8 +1,8 @@
Index: sieve/Makefile.in
diff -u sieve/Makefile.in.orig sieve/Makefile.in
--- sieve/Makefile.in.orig Wed Nov 12 13:02:12 2003
-+++ sieve/Makefile.in Fri Feb 13 18:39:33 2004
-@@ -33,6 +33,7 @@
++++ sieve/Makefile.in Sun Mar 7 23:40:33 2004
+@@ -33,12 +33,13 @@
YACC = @YACC@
YFLAGS = -d
LEX = @LEX@
@@ -10,6 +10,13 @@ diff -u sieve/Makefile.in.orig sieve/Makefile.in
RANLIB = @RANLIB@
COMPILE_ET = @COMPILE_ET@
+ DEFS = @DEFS@
+ CPPFLAGS = -I. -I.. -I$(srcdir) -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ @PERL_CCCDLFLAGS@
+ LDFLAGS = @LDFLAGS@
+
+ MAKEDEPEND = @MAKEDEPEND@
@@ -59,7 +60,7 @@
install: sievec