From 4b48fe10a17c6b5af754ccb105908d4f28ecc1da Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 12 Mar 2008 03:44:34 +0000 Subject: 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 --- mail/evolution/Makefile | 9 +++++---- .../files/patch-plugins_exchange-operations_Makefile.in | 10 ++++++++++ 2 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 mail/evolution/files/patch-plugins_exchange-operations_Makefile.in 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 # # $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) -- cgit v1.2.3