diff options
author | obache <obache@pkgsrc.org> | 2012-01-05 11:52:33 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2012-01-05 11:52:33 +0000 |
commit | 79b56fd004721e975c6a2bfa604091083ffcaa31 (patch) | |
tree | 3dd1ae35410923b6acd952133da51e7b61398e15 /mail/cyrus-imapd | |
parent | f3671d06d1cd673daeb30eafd719a63ceb326a5f (diff) | |
download | pkgsrc-79b56fd004721e975c6a2bfa604091083ffcaa31.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/Makefile | 5 |
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 |