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
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 15 22:00:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Marcin Wisnicki
>Release: FreeBSD 7.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD ghost.pnet.one.pl 7.2-STABLE FreeBSD 7.2-STABLE #4: Thu Dec 10 23:23:39 CET 2009
>Description:
After recent update of gnome this port failed to build with EVOLUTION=on.
No version bump needed.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- 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 "
.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
--- mail-notification-5.4_4.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list