summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd
diff options
context:
space:
mode:
authorobache <obache>2012-01-05 11:52:33 +0000
committerobache <obache>2012-01-05 11:52:33 +0000
commitccb98e0f43ba9c31740339b1aa314fcda4950249 (patch)
tree3dd1ae35410923b6acd952133da51e7b61398e15 /mail/cyrus-imapd
parent3daca0c8eb69878e6d7ba7ba067bb35320c4b562 (diff)
downloadpkgsrc-ccb98e0f43ba9c31740339b1aa314fcda4950249.tar.gz
Prefer system builtin com_err other than Linux.
fixes PR#45782.
Diffstat (limited to 'mail/cyrus-imapd')
-rw-r--r--mail/cyrus-imapd/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/cyrus-imapd/Makefile b/mail/cyrus-imapd/Makefile
index 47ec552b726..fe4efc167bb 100644
--- a/mail/cyrus-imapd/Makefile
+++ b/mail/cyrus-imapd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.92 2011/12/20 11:59:46 obache Exp $
+# $NetBSD: Makefile,v 1.93 2012/01/05 11:52:33 obache Exp $
DISTNAME= cyrus-imapd-2.2.13p1
PKGREVISION= 5
@@ -86,6 +86,9 @@ CHECK_BUILTIN.mit-krb5:= no
exists(/usr/bin/compile_et) && exists(/usr/include/krb5/com_err.h)
CPPFLAGS+= -I/usr/include/krb5
CONFIGURE_ENV+= COMPILE_ET=/usr/bin/compile_et
+. elif ${OPSYS} != "Linux" && \
+ exists(/usr/bin/compile_et) && exists(/usr/include/com_err.h)
+CONFIGURE_ENV+= COMPILE_ET=/usr/bin/compile_et
. else
CONFIGURE_ARGS+= --with-com-err=yes
. endif