From 14c2c96755a2173289b7f18cb18123f7a4c030ea Mon Sep 17 00:00:00 2001 From: lwhsu Date: Tue, 16 Feb 2010 10:43:55 +0000 Subject: - Fix build for EVOLUTION=on PR: ports/143971 Submitted by: Marcin Wisnicki (maintainer) Feature safe: yes --- mail/mail-notification/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/mail-notification/Makefile b/mail/mail-notification/Makefile index ec71e47a9bb1..d0289ecad8cf 100644 --- a/mail/mail-notification/Makefile +++ b/mail/mail-notification/Makefile @@ -91,10 +91,14 @@ PLIST_SUB+= YAHOO="" JB_CONF_ARGS+= evolution=no PLIST_SUB+= EVOLUTION="@comment " .else -EVO_VERSION= 2.22 +EVO_VERSION!= make -C ${PORTSDIR}/mail/evolution -V EVO_VERSION BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/evolution-plugin.pc:${PORTSDIR}/mail/evolution RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/evolution-plugin.pc:${PORTSDIR}/mail/evolution PLIST_SUB+= EVOLUTION="" EVO_VERSION=${EVO_VERSION} +# Work around the fact that MN is using evolution's private(?) api that is not part of +# evolution-plugin thus it's includes are not covered by pkgconfig metadata. +# That path is frozen at 3.14 even for later versions of libgtkhtml. +CFLAGS+= -I${LOCALBASE}/include/libgtkhtml-3.14 -I${LOCALBASE}/include/libgtkhtml-3.14/editor .endif .if defined(WITHOUT_MOZILLA) JB_CONF_ARGS+= mozilla=no -- cgit