diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-01-03 14:12:02 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-01-03 14:12:02 +0800 |
commit | 66241df70c8121588ac8375d172736dab56766b5 (patch) | |
tree | 186fc81f0145cc05e1cbbccc896dc6c080b56976 | |
parent | d1f6336dedc8caf9307b81a5ddbeda1093e3be9b (diff) | |
download | marcuscom-ports-66241df70c8121588ac8375d172736dab56766b5.tar.gz marcuscom-ports-66241df70c8121588ac8375d172736dab56766b5.tar.zst marcuscom-ports-66241df70c8121588ac8375d172736dab56766b5.zip |
Try and get Evo to build on FreeBSD < 8.X.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13350 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | mail/evolution/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile index db18f7e38..79eedcf52 100644 --- a/mail/evolution/Makefile +++ b/mail/evolution/Makefile @@ -3,7 +3,7 @@ # Whom: Ade Lovett <ade@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/mail/evolution/Makefile,v 1.207 2009/12/26 21:31:06 kwm Exp $ +# $MCom: ports/mail/evolution/Makefile,v 1.208 2009/12/27 19:44:46 kwm Exp $ # PORTNAME= evolution @@ -85,15 +85,15 @@ CONFIGURE_ARGS+=--with-openldap=no RUN_DEPENDS+= spamassassin:${PORTSDIR}/mail/p5-Mail-SpamAssassin .endif -.if !defined(NO_KERBEROS) && exists(/usr/lib/libkrb5.so) -CONFIGURE_ARGS+= --with-krb5=/usr -.else +.if defined(HEIMDAL_HOME) || defined(WITH_HEIMDAL) || defined(NO_KERBEROS) +HEIMDAL_HOME?= ${LOCALBASE} LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal -.if defined(HEIMDAL_HOME) -CONFIGURE_ARGS+= --with-krb5=${HEIMDAL_HOME} --with-krb5-includes=${HEIMDAL_HOME}/include -.else -CONFIGURE_ARGS+= --with-krb5=${LOCALBASE} -.endif +CONFIGURE_ARGS+= --with-krb5=${HEIMDAL_HOME} \ + --with-krb5-includes=${HEIMDAL_HOME}/include +KRB5_LIB= `${HEIMDAL_HOME}/bin/krb5-config gssapi --libs` +.elif !defined(NO_KERBEROS) +CONFIGURE_ARGS+= --with-krb5=/usr +KRB5_LIB= `/usr/bin/krb5-config gssapi --libs` .endif .if defined(WITH_CANBERRA) @@ -118,6 +118,7 @@ PLIST_SUB+= PST="@comment " post-patch: @${REINPLACE_CMD} -e '/^plugins_standard_always/s/audio-inline//' \ + -e 's|heimlibs".*"|heimlibs="${KRB5_LIB}"|g' \ -e 's|-Wmissing-include-dirs||g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|stdlib.n|stdlib.h|' \ |