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-imapd24 | |
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-imapd24')
-rw-r--r-- | mail/cyrus-imapd24/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/cyrus-imapd24/Makefile b/mail/cyrus-imapd24/Makefile index ff601ea6db1..7d90b3d2c07 100644 --- a/mail/cyrus-imapd24/Makefile +++ b/mail/cyrus-imapd24/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2011/10/05 01:32:31 obache Exp $ +# $NetBSD: Makefile,v 1.14 2011/12/07 20:39:19 sbd Exp $ DISTNAME= cyrus-imapd-2.4.12 CATEGORIES= mail @@ -56,6 +56,12 @@ CONFIGURE_ARGS+= --enable-replication 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 |