1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +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
distinfo
Makefile Add some substitutions to ensure that plugins are linked with libabiword 2014-05-19 13:40:12 +00:00
pkg-descr
pkg-plist