diff options
author | sbd <sbd@pkgsrc.org> | 2011-12-07 20:39:19 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2011-12-07 20:39:19 +0000 |
commit | 5b10cb7b7fc4750e31c2a7646cf6fb4582797062 (patch) | |
tree | 96739f3d5ffd79466f943b3908bc11f8fecc964e /mail/cyrus-imapd | |
parent | 7b9a9e5280596a0197eaac40e71d680d35e6e73c (diff) | |
download | pkgsrc-5b10cb7b7fc4750e31c2a7646cf6fb4582797062.tar.gz |
If a package Makefile is going to try and detect a builtin libraray it
should honor the PREFER* variables.
Diffstat (limited to 'mail/cyrus-imapd')
-rw-r--r-- | mail/cyrus-imapd/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/cyrus-imapd/Makefile b/mail/cyrus-imapd/Makefile index 6f9dc0fde46..c65f7e7d907 100644 --- a/mail/cyrus-imapd/Makefile +++ b/mail/cyrus-imapd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.88 2011/08/14 13:25:21 obache Exp $ +# $NetBSD: Makefile,v 1.89 2011/12/07 20:39:19 sbd Exp $ DISTNAME= cyrus-imapd-2.2.13p1 PKGREVISION= 5 @@ -89,6 +89,12 @@ PLIST.ldap= yes COMERRBASE?= /usr .endif .if defined(COMERRBASE) +# As com_err is a library the PREFER_* user variables should be honored. +# +BUILTIN_PKG:= com_err +.include "../../mk/buildlink3/bsd.builtin.mk" +.endif +.if defined(PREFER.com_err) && ${PREFER.com_err} != "pkgsrc" . if exists(${COMERRBASE}/include/krb5/com_err.h) CPPFLAGS+= -I${COMERRBASE}/include/krb5 . endif |