aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-notification
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2010-02-16 18:43:55 +0800
committerlwhsu <lwhsu@FreeBSD.org>2010-02-16 18:43:55 +0800
commit14c2c96755a2173289b7f18cb18123f7a4c030ea (patch)
tree40574354ff35c82eb6ba119734a8fc2ce5debfde /mail/mail-notification
parentde7079a88b2b621456f243ac3868f0d6f12b4a19 (diff)
downloadfreebsd-ports-gnome-14c2c96755a2173289b7f18cb18123f7a4c030ea.tar.gz
freebsd-ports-gnome-14c2c96755a2173289b7f18cb18123f7a4c030ea.tar.zst
freebsd-ports-gnome-14c2c96755a2173289b7f18cb18123f7a4c030ea.zip
- Fix build for EVOLUTION=on
PR: ports/143971 Submitted by: Marcin Wisnicki <mwisnicki+freebsd AT gmail.com> (maintainer) Feature safe: yes
Diffstat (limited to 'mail/mail-notification')
-rw-r--r--mail/mail-notification/Makefile6
1 files changed, 5 insertions, 1 deletions
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