summaryrefslogtreecommitdiffstats
path: root/mail/evolution
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-03-12 11:44:34 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-03-12 11:44:34 +0800
commit4b48fe10a17c6b5af754ccb105908d4f28ecc1da (patch)
treecdddbd71b533b09b1e1744d6259d91fd6b5e819b /mail/evolution
parentc5dfb0a6250ee23c3cacfe3e78a63e9fd8423aa3 (diff)
downloadmarcuscom-ports-4b48fe10a17c6b5af754ccb105908d4f28ecc1da.tar
marcuscom-ports-4b48fe10a17c6b5af754ccb105908d4f28ecc1da.tar.gz
marcuscom-ports-4b48fe10a17c6b5af754ccb105908d4f28ecc1da.tar.bz2
marcuscom-ports-4b48fe10a17c6b5af754ccb105908d4f28ecc1da.tar.lz
marcuscom-ports-4b48fe10a17c6b5af754ccb105908d4f28ecc1da.tar.xz
marcuscom-ports-4b48fe10a17c6b5af754ccb105908d4f28ecc1da.tar.zst
marcuscom-ports-4b48fe10a17c6b5af754ccb105908d4f28ecc1da.zip
Add ltasneededhack, and patch Evo to be able to compile with it. This will
greatly speed up Evo's startup. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10716 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail/evolution')
-rw-r--r--mail/evolution/Makefile9
-rw-r--r--mail/evolution/files/patch-plugins_exchange-operations_Makefile.in10
2 files changed, 15 insertions, 4 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile
index 994f98c5b..8a6dab407 100644
--- a/mail/evolution/Makefile
+++ b/mail/evolution/Makefile
@@ -3,11 +3,12 @@
# Whom: Ade Lovett <ade@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/mail/evolution/Makefile,v 1.164 2008/03/01 07:13:34 marcus Exp $
+# $MCom: ports/mail/evolution/Makefile,v 1.165 2008/03/11 12:49:10 kwm Exp $
#
PORTNAME= evolution
PORTVERSION= 2.22.0
+PORTREVISION= 1
CATEGORIES= mail gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
@@ -25,8 +26,8 @@ USE_BISON= build
USE_GETTEXT= yes
USE_XLIB= yes
USE_GNOME= gnomeprefix gnomehack intlhack evolutiondataserver gtkhtml3 \
- desktopfileutils gnomedocutils
-GNU_CONFIGURE= yes
+ desktopfileutils gnomedocutils ltasneededhack
+USE_AUTOTOOLS= libtool:15
INSTALLS_OMF= yes
INSTALLS_ICONS= yes
USE_LDCONFIG= yes
@@ -35,7 +36,7 @@ CONFIGURE_ARGS= --enable-nss=yes \
--enable-mono=no \
--with-sub-version=" FreeBSD GNOME Team Port"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+ LDFLAGS="-Wl,--as-needed -L${LOCALBASE}/lib"
GCONF_SCHEMAS= apps_evolution_addressbook.schemas \
apps-evolution-attachment-reminder.schemas \
diff --git a/mail/evolution/files/patch-plugins_exchange-operations_Makefile.in b/mail/evolution/files/patch-plugins_exchange-operations_Makefile.in
new file mode 100644
index 000000000..1a1cdba37
--- /dev/null
+++ b/mail/evolution/files/patch-plugins_exchange-operations_Makefile.in
@@ -0,0 +1,10 @@
+--- plugins/exchange-operations/Makefile.in.orig 2008-03-11 17:54:08.000000000 -0400
++++ plugins/exchange-operations/Makefile.in 2008-03-11 17:54:38.000000000 -0400
+@@ -461,6 +461,7 @@ liborg_gnome_exchange_operations_la_LIBA
+ $(top_builddir)/calendar/gui/libevolution-calendar.la \
+ $(top_builddir)/mail/libevolution-mail.la \
+ $(top_builddir)/addressbook/gui/component/libevolution-addressbook.la \
++ -Wl,--no-as-needed,$(top_builddir)/addressbook/gui/component/.libs/libevolution-addressbook.so \
+ $(CAMEL_EXCHANGE_LIBS)
+
+ liborg_gnome_exchange_operations_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED)