aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cyrus-imapd23/Makefile
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2009-12-22 00:07:47 +0800
committerume <ume@FreeBSD.org>2009-12-22 00:07:47 +0800
commitf93cc9ef7d298805804e9d6316b81b01266be0fc (patch)
treed9e86668e5667dbd2d539a6876b57c2ae3f331c9 /mail/cyrus-imapd23/Makefile
parentabfaf50fed5ea01f57fd1ba115ca34695c32419b (diff)
downloadfreebsd-ports-gnome-f93cc9ef7d298805804e9d6316b81b01266be0fc.tar.gz
freebsd-ports-gnome-f93cc9ef7d298805804e9d6316b81b01266be0fc.tar.zst
freebsd-ports-gnome-f93cc9ef7d298805804e9d6316b81b01266be0fc.zip
The patch to configure.in is required only when WITH_DRAC=YES and
FreeBSD 8.X and later.
Diffstat (limited to 'mail/cyrus-imapd23/Makefile')
-rw-r--r--mail/cyrus-imapd23/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/cyrus-imapd23/Makefile b/mail/cyrus-imapd23/Makefile
index 43f2a5601c25..c39b44d19edf 100644
--- a/mail/cyrus-imapd23/Makefile
+++ b/mail/cyrus-imapd23/Makefile
@@ -119,8 +119,10 @@ CONFIGURE_ARGS+=--enable-netscapehack
.if defined(WITH_DRAC)
EXTRA_PATCHES+= ${WRKSRC}/contrib/drac_auth.patch
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-cmulocal::sasl2.m4 \
- ${FILESDIR}/extra-patch-cmulocal::ucdsnmp.m4 \
- ${FILESDIR}/extra-patch-configure.in
+ ${FILESDIR}/extra-patch-cmulocal::ucdsnmp.m4
+.if ${OSVERSION} >= 800037
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-configure.in
+.endif
USE_AUTOTOOLS= autoconf:262 autoheader:262
CONFIGURE_ARGS+=--with-drac=${LOCALBASE}
BUILD_DEPENDS+= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac