ports/143971: [MAINTAINER] mail/mail-notification: unbreak WITH_EVOLUTION

Marcin Wisnicki mwisnicki+freebsd at gmail.com
Mon Feb 15 22:00:12 UTC 2010

>Number:         143971
>Category:       ports
>Synopsis:       [MAINTAINER] mail/mail-notification: unbreak WITH_EVOLUTION
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 15 22:00:11 UTC 2010
>Originator:     Marcin Wisnicki
>Release:        FreeBSD 7.2-STABLE i386
System: FreeBSD ghost.pnet.one.pl 7.2-STABLE FreeBSD 7.2-STABLE #4: Thu Dec 10 23:23:39 CET 2009
After recent update of gnome this port failed to build with EVOLUTION=on.
No version bump needed.

Generated with FreeBSD Port Tools 0.99

--- mail-notification-5.4_4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/mail-notification.orig/Makefile /usr/ports/mail/mail-notification/Makefile
--- /usr/ports/mail/mail-notification.orig/Makefile	2010-02-11 12:58:37.000000000 +0100
+++ /usr/ports/mail/mail-notification/Makefile	2010-02-15 22:49:45.000000000 +0100
@@ -91,10 +91,14 @@
 JB_CONF_ARGS+=	evolution=no
 PLIST_SUB+=	EVOLUTION="@comment "
+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
+# 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
 .if defined(WITHOUT_MOZILLA)
 JB_CONF_ARGS+=	mozilla=no
--- mail-notification-5.4_4.patch ends here ---


More information about the freebsd-ports-bugs mailing list