summaryrefslogtreecommitdiff
path: root/editors/abiword/patches/patch-configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'editors/abiword/patches/patch-configure.ac')
-rw-r--r--editors/abiword/patches/patch-configure.ac14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/abiword/patches/patch-configure.ac b/editors/abiword/patches/patch-configure.ac
new file mode 100644
index 00000000000..6cc08d81d53
--- /dev/null
+++ b/editors/abiword/patches/patch-configure.ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-configure.ac,v 1.1 2015/09/13 21:32:13 nros Exp $
+Use the installed libabiword instead of the one in the build directory
+This is needed for the plugins so the can build as a separate package
+--- configure.ac.orig 2015-06-06 23:11:58.000000000 +0000
++++ configure.ac
+@@ -893,7 +893,7 @@ if test "$TOOLKIT" = "gtk" &&
+ test "$enable_shared" = "yes"; then
+ # link plugins to work around gcc visibility issue with
+ # derived classes in dlopened modules
+- PLUGIN_LIBS='${top_builddir}/src/libabiword-'"$ABIWORD_SERIES"'.la'" $PLUGIN_LIBS"
++ PLUGIN_LIBS='${prefix}/lib/libabiword-'"$ABIWORD_SERIES"'.la'" $PLUGIN_LIBS"
+ elif test "$TOOLKIT" = "win"; then
+ PLUGIN_CFLAGS="$PLUGIN_CFLAGS "'-D_WIN32_IE=0x0501 -D_WIN32_WINNT=0x0500'
+ PLUGIN_LIBS='${top_builddir}/src/libabiword-'"$ABIWORD_SERIES"'.la'" $PLUGIN_LIBS"