summaryrefslogtreecommitdiffstats
path: root/mail/evolution-exchange
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-06 13:46:49 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-06 13:46:49 +0800
commit5b972055d9e34ee4f1dfcbba8d8450871e5114a0 (patch)
treee36cd011aabb9d93f736a7997799849669701462 /mail/evolution-exchange
parent372d73e2ea82ceb62efab4fc0ccb023091283d7b (diff)
downloadmarcuscom-ports-5b972055d9e34ee4f1dfcbba8d8450871e5114a0.tar
marcuscom-ports-5b972055d9e34ee4f1dfcbba8d8450871e5114a0.tar.gz
marcuscom-ports-5b972055d9e34ee4f1dfcbba8d8450871e5114a0.tar.bz2
marcuscom-ports-5b972055d9e34ee4f1dfcbba8d8450871e5114a0.tar.lz
marcuscom-ports-5b972055d9e34ee4f1dfcbba8d8450871e5114a0.tar.xz
marcuscom-ports-5b972055d9e34ee4f1dfcbba8d8450871e5114a0.tar.zst
marcuscom-ports-5b972055d9e34ee4f1dfcbba8d8450871e5114a0.zip
Try to be a little smarter about Kerberos detection when package building.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2624 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail/evolution-exchange')
-rw-r--r--mail/evolution-exchange/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/evolution-exchange/Makefile b/mail/evolution-exchange/Makefile
index 7b353f6c8..30e716f07 100644
--- a/mail/evolution-exchange/Makefile
+++ b/mail/evolution-exchange/Makefile
@@ -38,9 +38,10 @@ PLIST_SUB= VERSION="1.5" EVO_VERSION=${EVO_VERSION}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000 && defined(MAKE_KERBEROS5) && \
- exists(/usr/lib/libkrb5.so)
+ exists(/usr/lib/libkrb5.so) && !defined(PACKAGE_BUILDING)
CONFIGURE_ARGS+= --with-krb5=/usr
-.elif ${OSVERSION} < 500000 && !defined(MAKE_KERBEROS5)
+.elif ( ${OSVERSION} < 500000 && !defined(MAKE_KERBEROS5) ) || \
+ defined(PACKAGE_BUILDING)
LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
CONFIGURE_ARGS+= --with-krb5=${LOCALBASE}
.elif ${OSVERSION} >= 500000 && !defined(NO_KERBEROS) && \