openbsd-ports/productivity/homebank/patches/patch-configure
pea f68d5ed8dc Update to 4.1
ok landry@
2009-11-10 20:36:21 +00:00

22 lines
701 B
Plaintext

$OpenBSD: patch-configure,v 1.3 2009/11/10 20:36:21 pea Exp $
--- configure.orig Fri Oct 9 23:31:21 2009
+++ configure Fri Nov 6 10:02:18 2009
@@ -4895,7 +4895,7 @@ if test "${ac_cv_lib_ofx_ofx_set_status_cb+set}" = set
$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. */
@@ -4929,7 +4929,7 @@ if test "x$ac_cv_lib_ofx_ofx_set_status_cb" = x""yes;
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