aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-09-03 02:43:21 +0800
committertijl <tijl@FreeBSD.org>2014-09-03 02:43:21 +0800
commit8358ea6c395ebca648a6de406d71cb489315f732 (patch)
tree7dfd499f04d6fdddbdd5f02d3017d34f62770157 /mail
parent728316e20db4ef5929c98951c6efed0939d264ad (diff)
downloadfreebsd-ports-gnome-8358ea6c395ebca648a6de406d71cb489315f732.tar.gz
freebsd-ports-gnome-8358ea6c395ebca648a6de406d71cb489315f732.tar.zst
freebsd-ports-gnome-8358ea6c395ebca648a6de406d71cb489315f732.zip
Delete calls to g_thread_init. It isn't needed with glib 2.32 and up
and the port doesn't link with libgthread-2.0. Reported by: antoine
Diffstat (limited to 'mail')
-rw-r--r--mail/evolution/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile
index 6acb9e852aab..509574325632 100644
--- a/mail/evolution/Makefile
+++ b/mail/evolution/Makefile
@@ -109,6 +109,12 @@ post-patch:
-e 's|-DG_DISABLE_DEPRECATED||g' \
-e 's|-Wmissing-include-dirs||g' \
${WRKSRC}/configure
+ @${REINPLACE_CMD} 's/g_thread_init.*/(void)0;/' \
+ ${WRKSRC}/calendar/gui/alarm-notify/notify-main.c \
+ ${WRKSRC}/capplet/settings/mail-guess-servers.c \
+ ${WRKSRC}/capplet/anjal-settings-main.c \
+ ${WRKSRC}/plugins/backup-restore/backup.c \
+ ${WRKSRC}/shell/main.c
@${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g' \
${WRKSRC}/plugins/bogo-junk-plugin/bf-junk-filter.c
@${REINPLACE_CMD} -e 's|/usr/sbin|${LOCALBASE}/bin|g' \