aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cyrus-imapd23
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-11-22 18:08:05 +0800
committerume <ume@FreeBSD.org>2003-11-22 18:08:05 +0800
commit43d8b3f16a2489855dc2e106afa9633c005c53d4 (patch)
tree2550ed65468c90a483cd8a371b14ea26795a28e6 /mail/cyrus-imapd23
parentf0abc921d2b7be33fadfe1fd951d0a532f2db8b7 (diff)
downloadfreebsd-ports-graphics-43d8b3f16a2489855dc2e106afa9633c005c53d4.tar.gz
freebsd-ports-graphics-43d8b3f16a2489855dc2e106afa9633c005c53d4.tar.zst
freebsd-ports-graphics-43d8b3f16a2489855dc2e106afa9633c005c53d4.zip
re-enable WITH_DRAC.
Diffstat (limited to 'mail/cyrus-imapd23')
-rw-r--r--mail/cyrus-imapd23/Makefile17
-rw-r--r--mail/cyrus-imapd23/files/extra-patch-config.h.in14
2 files changed, 26 insertions, 5 deletions
diff --git a/mail/cyrus-imapd23/Makefile b/mail/cyrus-imapd23/Makefile
index e20fb7bc3c0..1d2ad32df4f 100644
--- a/mail/cyrus-imapd23/Makefile
+++ b/mail/cyrus-imapd23/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-imapd23/files/extra-patch-config.h.in b/mail/cyrus-imapd23/files/extra-patch-config.h.in
new file mode 100644
index 00000000000..f377af64f54
--- /dev/null
+++ b/mail/cyrus-imapd23/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
+