mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
re-enable WITH_DRAC.
This commit is contained in:
parent
6707b59090
commit
4369aab67b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94702
@ -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}
|
||||
|
14
mail/cyrus-imapd22/files/extra-patch-config.h.in
Normal file
14
mail/cyrus-imapd22/files/extra-patch-config.h.in
Normal file
@ -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
|
||||
|
@ -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}
|
||||
|
14
mail/cyrus-imapd23/files/extra-patch-config.h.in
Normal file
14
mail/cyrus-imapd23/files/extra-patch-config.h.in
Normal file
@ -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
|
||||
|
@ -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}
|
||||
|
14
mail/cyrus-imapd24/files/extra-patch-config.h.in
Normal file
14
mail/cyrus-imapd24/files/extra-patch-config.h.in
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user