From f2154f3d4c6cc137d5f625969bfc5eeb922a6b85 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 15 Apr 2011 11:28:30 +0200 Subject: [PATCH] evolution: fixed by adding a workaround to find mono headers and libs properly --- gnome2/evolution/evolution.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnome2/evolution/evolution.conf b/gnome2/evolution/evolution.conf index 1377dd1e1..053039b7c 100644 --- a/gnome2/evolution/evolution.conf +++ b/gnome2/evolution/evolution.conf @@ -20,7 +20,12 @@ var_append confopt ' ' '--enable-nntp=yes' pkginstalled gnome-pilot-conduits && var_append confopt ' ' '--enable-pilot-conduits=yes' # Add Mono embedded hooks. -pkginstalled mono && var_append confopt ' ' "--enable-mono" +if pkginstalled -f mono; then + var_append confopt ' ' "--enable-mono" + # workaround to find mono headers and libs + mono_majorver="$( pkgprefix ver mono | cut -d '.' -f1)" + var_append CC_WRAPPER_APPEND ' ' "$( pkg-config --cflags --libs mono-$mono_majorver )" +fi # Add python embedded hooks. if pkginstalled -f python; then