summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-11-04 13:48:35 +0000
committerseb <seb@pkgsrc.org>2002-11-04 13:48:35 +0000
commit8295507d809fe5f55c6229d4b2d203ec967fff5c (patch)
tree137cccd50183cae7c030c3d18cdd3dfe9cc25dc6 /mail/cyrus-imapd
parent3df5fb5b9550650d9a5508cb57ac328a8704c109 (diff)
downloadpkgsrc-8295507d809fe5f55c6229d4b2d203ec967fff5c.tar.gz
Add dependency on autoconf and have auto{header,conf} run at pre-configure
stage: this is need to avoid conflict between the distribution patch file for IPv6 support and patches/patch-af (now removed) and patches/patch-ak. Bump PKGREVISION (again).
Diffstat (limited to 'mail/cyrus-imapd')
-rw-r--r--mail/cyrus-imapd/Makefile11
-rw-r--r--mail/cyrus-imapd/distinfo3
-rw-r--r--mail/cyrus-imapd/patches/patch-af156
3 files changed, 10 insertions, 160 deletions
diff --git a/mail/cyrus-imapd/Makefile b/mail/cyrus-imapd/Makefile
index a1fff5049cc..cbae9bf6fd4 100644
--- a/mail/cyrus-imapd/Makefile
+++ b/mail/cyrus-imapd/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.34 2002/11/04 09:54:30 seb Exp $
+# $NetBSD: Makefile,v 1.35 2002/11/04 13:48:35 seb Exp $
DISTNAME= cyrus-imapd-2.0.16
-PKGREVISION= 2
+PKGREVISION= 3
SVR4_PKGNAME= cimap
CATEGORIES= mail
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
@@ -13,6 +13,7 @@ COMMENT= Cyrus IMAP server
USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
+AUTOCONF_REQD= 2.13
.include "../../mk/bsd.prefs.mk"
@@ -96,6 +97,11 @@ post-patch:
${MV} -f $${file}.fixed $${file}; \
done
+pre-configure:
+ cd ${WRKSRC}; \
+ ${AUTOHEADER}; \
+ ${AUTOCONF}
+
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/tools/mkimap ${PREFIX}/cyrus/bin
${INSTALL_DATA_DIR} ${EGDIR}
@@ -109,5 +115,6 @@ post-install:
.include "../../security/cyrus-sasl/buildlink2.mk"
.include "../../security/openssl/buildlink2.mk"
.include "../../security/tcp_wrappers/buildlink2.mk"
+.include "../../mk/autoconf.mk"
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/cyrus-imapd/distinfo b/mail/cyrus-imapd/distinfo
index 11fbd40a04b..fb06621be40 100644
--- a/mail/cyrus-imapd/distinfo
+++ b/mail/cyrus-imapd/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2002/11/04 09:54:31 seb Exp $
+$NetBSD: distinfo,v 1.12 2002/11/04 13:48:36 seb Exp $
SHA1 (cyrus-imapd-2.0.16.tar.gz) = 7aa83f4b01d164f57cfd4cfe195f85551212b962
Size (cyrus-imapd-2.0.16.tar.gz) = 1383996 bytes
@@ -9,7 +9,6 @@ SHA1 (patch-ab) = 76000108d4345a19d56c99cc2ccd64cd0d8c897e
SHA1 (patch-ac) = 95eea5da0d7d54bd31e99decc281c6e55d11aa81
SHA1 (patch-ad) = 2ded3c0228d6967af5599df0226cf43fc1e94b29
SHA1 (patch-ae) = df4054aa5aa19129ce2ab28c5d74f0f92230a1c6
-SHA1 (patch-af) = 5db6b4638ec3accbb44266df953733d81888fcaf
SHA1 (patch-ag) = 08068d3d44a055237b208838def5e1ac4c4715b5
SHA1 (patch-ah) = d6602de6b2105c97cef1005fb7883e6023184ef7
SHA1 (patch-ai) = eb32cf0cf4c4007efc57530fa028b5336c22e26a
diff --git a/mail/cyrus-imapd/patches/patch-af b/mail/cyrus-imapd/patches/patch-af
deleted file mode 100644
index de12d73a8ea..00000000000
--- a/mail/cyrus-imapd/patches/patch-af
+++ /dev/null
@@ -1,156 +0,0 @@
-$NetBSD: patch-af,v 1.5 2002/11/01 00:26:30 jlam Exp $
-
---- configure.orig Fri Jul 27 19:53:11 2001
-+++ configure
-@@ -1159,49 +1159,27 @@ fi
- rm -f conftest*
-
-
--
-- echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
--echo "configure:1165: checking for strerror in -lcposix" >&5
--ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
--if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
-- echo $ac_n "(cached) $ac_c" 1>&6
--else
-- ac_save_LIBS="$LIBS"
--LIBS="-lcposix $LIBS"
--cat > conftest.$ac_ext <<EOF
--#line 1173 "configure"
--#include "confdefs.h"
--/* Override any gcc2 internal prototype to avoid an error. */
--/* We use char because int might match the return type of a gcc2
-- builtin and then its argument prototype would still apply. */
--char strerror();
--
--int main() {
--strerror()
--; return 0; }
-+echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
-+echo "configure:1164: checking for POSIXized ISC" >&5
-+if test -d /etc/conf/kconfig.d &&
-+ grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
-+then
-+ echo "$ac_t""yes" 1>&6
-+ ISC=yes # If later tests want to check for ISC.
-+ cat >> confdefs.h <<\EOF
-+#define _POSIX_SOURCE 1
- EOF
--if { (eval echo configure:1184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-- rm -rf conftest*
-- eval "ac_cv_lib_$ac_lib_var=yes"
--else
-- echo "configure: failed program was:" >&5
-- cat conftest.$ac_ext >&5
-- rm -rf conftest*
-- eval "ac_cv_lib_$ac_lib_var=no"
--fi
--rm -f conftest*
--LIBS="$ac_save_LIBS"
-
--fi
--if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
-- echo "$ac_t""yes" 1>&6
-- LIBS="$LIBS -lcposix"
-+ if test "$GCC" = yes; then
-+ CC="$CC -posix"
-+ else
-+ CC="$CC -Xp"
-+ fi
- else
- echo "$ac_t""no" 1>&6
-+ ISC=
- fi
-
--
--
- for ac_prog in mawk gawk nawk awk
- do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-@@ -2284,6 +2262,9 @@ if test "$with_perl" = "no"; then
- else
- EXTRA_SUBDIRS="${EXTRA_SUBDIRS} perl"
- PERL_SUBDIRS="imap"
-+ eval `${PERL} -V:cccdlflags`
-+ PERL_CCCDLFLAGS="$cccdlflags"
-+
- fi
-
- if test "$sievedir" != "no"; then
-@@ -4179,6 +4160,44 @@ fi
-
- SASLFLAGS=""
- LIB_SASL=""
-+ # Extract the first word of "sasl-config", so it can be a program name with args.
-+set dummy sasl-config; ac_word=$2
-+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-+echo "configure:4167: checking for $ac_word" >&5
-+if eval "test \"`echo '$''{'ac_cv_path_SASL_CONFIG'+set}'`\" = set"; then
-+ echo $ac_n "(cached) $ac_c" 1>&6
-+else
-+ case "$SASL_CONFIG" in
-+ /*)
-+ ac_cv_path_SASL_CONFIG="$SASL_CONFIG" # Let the user override the test with a path.
-+ ;;
-+ ?:/*)
-+ ac_cv_path_SASL_CONFIG="$SASL_CONFIG" # Let the user override the test with a dos path.
-+ ;;
-+ *)
-+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
-+ ac_dummy="$PATH"
-+ for ac_dir in $ac_dummy; do
-+ test -z "$ac_dir" && ac_dir=.
-+ if test -f $ac_dir/$ac_word; then
-+ ac_cv_path_SASL_CONFIG="$ac_dir/$ac_word"
-+ break
-+ fi
-+ done
-+ IFS="$ac_save_ifs"
-+ test -z "$ac_cv_path_SASL_CONFIG" && ac_cv_path_SASL_CONFIG="no"
-+ ;;
-+esac
-+fi
-+SASL_CONFIG="$ac_cv_path_SASL_CONFIG"
-+if test -n "$SASL_CONFIG"; then
-+ echo "$ac_t""$SASL_CONFIG" 1>&6
-+else
-+ echo "$ac_t""no" 1>&6
-+fi
-+
-+
-+ if test "$SASL_CONFIG" = no; then
-
- cmu_saved_CPPFLAGS=$CPPFLAGS
- cmu_saved_LDFLAGS=$LDFLAGS
-@@ -4277,6 +4296,15 @@ fi
- LIB_SASL=""
- SASLFLAGS=""
- fi
-+
-+ else # SASL_CONFIG
-+
-+ ac_cv_found_sasl=yes
-+ SASLFLAGS=`$SASL_CONFIG --cflags`
-+ LIB_SASL=`$SASL_CONFIG --libs`
-+
-+ fi
-+
-
-
-
-@@ -5066,6 +5094,7 @@ s%@YACC@%$YACC%g
- 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
-@@ -5084,6 +5113,7 @@ s%@COMPILE_ET@%$COMPILE_ET%g
- s%@COM_ERR_LIBS@%$COM_ERR_LIBS%g
- s%@COM_ERR_LDFLAGS@%$COM_ERR_LDFLAGS%g
- s%@COM_ERR_CPPFLAGS@%$COM_ERR_CPPFLAGS%g
-+s%@SASL_CONFIG@%$SASL_CONFIG%g
- s%@LIB_SASL@%$LIB_SASL%g
- s%@SASLFLAGS@%$SASLFLAGS%g
- s%@SNMP_SUBDIRS@%$SNMP_SUBDIRS%g