openbsd-ports/productivity/homebank/patches/patch-configure
2022-03-11 19:51:39 +00:00

22 lines
605 B
Plaintext

Index: configure
--- configure.orig
+++ configure
@@ -5311,7 +5311,7 @@ if ${ac_cv_lib_ofx_ofx_set_status_cb+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lofx $LIBS"
+LIBS="`pkg-config --libs libofx` $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -5345,7 +5345,7 @@ if test "x$ac_cv_lib_ofx_ofx_set_status_cb" = xyes; th
OFX_0_7="-DOFX_ENABLE"
fi
- DEPS_LIBS="-lofx ${DEPS_LIBS}"
+ DEPS_LIBS="`pkg-config --libs libofx` ${DEPS_LIBS}"
CFLAGS="${CFLAGS} $OFX_0_7"
else
noofx=true