patch-configure 701 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-configure,v 1.5 2016/12/25 21:13:04 jung Exp $
  2. --- configure.orig Sun Nov 6 09:54:16 2016
  3. +++ configure Thu Dec 1 22:07:12 2016
  4. @@ -5298,7 +5298,7 @@ if ${ac_cv_lib_ofx_ofx_set_status_cb+:} false; then :
  5. $as_echo_n "(cached) " >&6
  6. else
  7. ac_check_lib_save_LIBS=$LIBS
  8. -LIBS="-lofx $LIBS"
  9. +LIBS="`pkg-config --libs libofx` $LIBS"
  10. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11. /* end confdefs.h. */
  12. @@ -5332,7 +5332,7 @@ if test "x$ac_cv_lib_ofx_ofx_set_status_cb" = xyes; th
  13. OFX_0_7="-DOFX_ENABLE"
  14. fi
  15. - DEPS_LIBS="-lofx ${DEPS_LIBS}"
  16. + DEPS_LIBS="`pkg-config --libs libofx` ${DEPS_LIBS}"
  17. CFLAGS="${CFLAGS} $OFX_0_7"
  18. else
  19. noofx=true