freebsd-ports/mail/cyrus-imapd/files/patch-ac
Hajimu UMEMOTO 0874df9a06 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
2004-03-07 17:39:03 +00:00

30 lines
870 B
Text

Index: configure
diff -u configure.orig configure
--- configure.orig Mon Mar 8 02:25:08 2004
+++ configure Mon Mar 8 02:26:39 2004
@@ -2286,6 +2286,8 @@
else
EXTRA_SUBDIRS="${EXTRA_SUBDIRS} perl"
PERL_SUBDIRS="imap"
+ eval `${PERL} -V:cccdlflags`
+ PERL_CCCDLFLAGS="$cccdlflags"
fi
if test "$sievedir" != "no"; then
@@ -4187,7 +4189,7 @@
cmu_saved_LIBS=$LIBS
if test -d ${with_sasl}; then
ac_cv_sasl_where_lib=${with_sasl}/lib
- ac_cv_sasl_where_inc=${with_sasl}/include
+ ac_cv_sasl_where_inc=${with_sasl}/include/sasl1
SASLFLAGS="-I$ac_cv_sasl_where_inc"
LIB_SASL="-L$ac_cv_sasl_where_lib"
@@ -5300,6 +5302,7 @@
s%@LEX@%$LEX%g
s%@LEXLIB@%$LEXLIB%g
s%@PERL@%$PERL%g
+s%@PERL_CCCDLFLAGS@%$PERL_CCCDLFLAGS%g
s%@WITH_NONBLOCK@%$WITH_NONBLOCK%g
s%@WITH_GMTOFF@%$WITH_GMTOFF%g
s%@WITH_MAP@%$WITH_MAP%g