aboutsummaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd24
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2003-11-22 10:08:05 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2003-11-22 10:08:05 +0000
commit4369aab67b58c73adc1c2e4ab4a001dee51222cc (patch)
tree20c5fa4e1aee5474ff6df08ea271b5c2b772e604 /mail/cyrus-imapd24
parent6707b5909039f45bd1fb76f3070b1d9361d1fe31 (diff)
downloadports-4369aab67b58c73adc1c2e4ab4a001dee51222cc.tar.gz
ports-4369aab67b58c73adc1c2e4ab4a001dee51222cc.zip
Notes
Diffstat (limited to 'mail/cyrus-imapd24')
-rw-r--r--mail/cyrus-imapd24/Makefile17
-rw-r--r--mail/cyrus-imapd24/files/extra-patch-config.h.in14
2 files changed, 26 insertions, 5 deletions
diff --git a/mail/cyrus-imapd24/Makefile b/mail/cyrus-imapd24/Makefile
index e20fb7bc3c0b..1d2ad32df4fb 100644
--- a/mail/cyrus-imapd24/Makefile
+++ b/mail/cyrus-imapd24/Makefile
@@ -88,12 +88,13 @@ CONFIGURE_ARGS+=--enable-netscapehack
.endif
.if defined(WITH_DRAC)
-BROKEN= currently not supported due to lack of acconfig.h
EXTRA_PATCHES+= ${WRKSRC}/contrib/drac_auth.patch
-#EXTRA_PATCHES+= ${FILESDIR}/drac_auth.patch
-EXTRA_PATCHES+= ${FILESDIR}/extra-patch-acconfig.h \
- ${FILESDIR}/extra-patch-aclocal.m4
-USE_AUTOHEADER= YES
+#EXTRA_PATCHES+= ${FILESDIR}/extra-patch-acconfig.h
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-aclocal.m4
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config.h.in
+#USE_AUTOHEADER= YES
+USE_AUTOCONF= YES
+WANT_AUTOCONF_VER=257
CONFIGURE_ARGS+=--with-drac=${LOCALBASE}
BUILD_DEPENDS+= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac
.endif
@@ -157,6 +158,12 @@ pre-everything::
fi
.endif
+.if defined(WITH_DRAC)
+pre-patch:
+ @${REINPLACE_CMD} -e '/^Index: acconfig\.h/,/^Index: /d' \
+ ${WRKSRC}/contrib/drac_auth.patch
+.endif
+
post-patch:
@${SED} -e "s|%%CYRUS_USER%%|${CYRUS_USER}|g" \
${.CURDIR}/pkg-install > ${PKGINSTALL}
diff --git a/mail/cyrus-imapd24/files/extra-patch-config.h.in b/mail/cyrus-imapd24/files/extra-patch-config.h.in
new file mode 100644
index 000000000000..f377af64f544
--- /dev/null
+++ b/mail/cyrus-imapd24/files/extra-patch-config.h.in
@@ -0,0 +1,14 @@
+Index: config.h.in
+diff -u config.h.in.orig config.h.in
+--- config.h.in.orig Wed Oct 29 02:24:49 2003
++++ config.h.in Sat Nov 22 18:43:54 2003
+@@ -100,6 +100,9 @@
+ /* Does SASL support APOP? */
+ #undef HAVE_APOP
+
++/* the Dynamic Relay Authorization Control package */
++#undef DRAC_AUTH
++
+ /* Define to 1 if you have the `daemon' function. */
+ #undef HAVE_DAEMON
+