openbsd-ports/mail/evolution-plugin-rss/patches/patch-src_Makefile_am

26 lines
1.0 KiB
Plaintext

$OpenBSD: patch-src_Makefile_am,v 1.1 2008/07/08 22:38:53 jasper Exp $
--- src/Makefile.am.orig Wed Jul 9 00:28:35 2008
+++ src/Makefile.am Wed Jul 9 00:29:30 2008
@@ -63,7 +63,12 @@ plugin_DATA = org-gnome-evolution-rss.eplug \
org-gnome-evolution-rss.xml
plugin_LTLIBRARIES = liborg-gnome-evolution-rss.la
-liborg_gnome_evolution_rss_la_SOURCES = rss.c gecko-utils.cpp
+SOURCES = rss.c
+if HAVE_GECKO
+SOURCES+= gecko-utils.cpp
+endif
+
+liborg_gnome_evolution_rss_la_SOURCES = $(SOURCES)
liborg_gnome_evolution_rss_la_LDFLAGS = -module -avoid-version $(WEBKIT_LIBS) $(GECKO_LIBS) $(GECKO_RPATH)
evolution_import_rss_SOURCES = evolution-import-rss.c
@@ -82,7 +87,6 @@ server_DATA = $(server_in_files:.server.in.in=_$(EVOLU
install-data-local:
rm -f $(PLUGIN_INSTALL_DIR)/*gnome-cooly*
- GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA)
uninstall-local:
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-uninstall-rule $(schema_DATA)