1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/editors/abiword
Tijl Coosemans d40d27aa64 Add some substitutions to ensure that plugins are linked with libabiword
from the work or stage directory instead of a previously installed library.

In pseudo code:
s,PLUGIN_LIBS="$PLUGIN_LIBS -Lsrc -labiword",
  PLUGIN_LIBS="src/libabiword.la $PLUGIN_LIBS",
s,foo_LIBS="$foo_LIBS $PLUGIN_LIBS",
  foo_LIBS="$PLUGIN_LIBS $foo_LIBS",

The initial value of PLUGIN_LIBS may contain -L/usr/local/lib so it would
have to come after -Lsrc, but -Lsrc is not correct when libtool relinks
plugins during staging so use src/libabiword.la and let libtool figure out
what flags are needed.  Secondly, switch around foo_LIBS and PLUGIN_LIBS
because foo_LIBS may contain -L/usr/local/lib.
2014-05-19 13:40:12 +00:00
..
files Update to 2.8.6. 2013-03-25 22:07:11 +00:00
distinfo Remove MD5's from distinfo *blush*. 2013-04-17 12:49:24 +00:00
Makefile Add some substitutions to ensure that plugins are linked with libabiword 2014-05-19 13:40:12 +00:00
pkg-descr
pkg-plist Add USES=libtool. 2014-05-17 21:41:42 +00:00