$NetBSD: patch-ah,v 1.1 2007/04/11 21:48:03 drochner Exp $

--- plugins/gedit/Makefile.in.orig	2006-05-03 18:35:46.000000000 +0200
+++ plugins/gedit/Makefile.in
@@ -61,7 +61,7 @@ pluginLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(plugin_LTLIBRARIES)
 am__DEPENDENCIES_1 =
 libseahorse_pgp_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-	$(am__DEPENDENCIES_1) $(top_builddir)/libcryptui/libcryptui.la
+	$(am__DEPENDENCIES_1)
 am__libseahorse_pgp_la_SOURCES_DIST = seahorse-gedit.c \
 	seahorse-gedit.h seahorse-gedit-plugin.c \
 	seahorse-gedit-bonobo.c
@@ -319,7 +319,7 @@ plugin_LTLIBRARIES = libseahorse-pgp.la
 libseahorse_pgp_la_SOURCES = seahorse-gedit.c seahorse-gedit.h $(PLUGIN_SRCS)
 libseahorse_pgp_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
 libseahorse_pgp_la_LIBADD = $(GEDIT_LIBS) $(LIBCRYPTUI_LIBS) \
-    $(top_builddir)/libcryptui/libcryptui.la
+    -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lcryptui
 
 plugin_in_files = seahorse-pgp.gedit-plugin.desktop.in
 plugin_DATA = $(plugin_in_files:.gedit-plugin.desktop.in=.gedit-plugin)
