Date: Mon, 9 Feb 2004 22:29:28 -0600 From: Mike Meyer <mwm@mired.org> To: ports@freebsd.org Subject: finance/libofx port fails if LOCALBASE is not /usr/local Message-ID: <16424.24104.544937.921024@guru.mired.org>
next in thread | raw e-mail | index | archive | help
It fails to find OpenSP during the config, because /usr/local is hardwired into the configure script. The patch for the Makefile is: guru# diff -c Makefile.broken Makefile /usr/ports/finance/libofx *** Makefile.broken Mon Feb 9 22:15:45 2004 --- Makefile Mon Feb 9 22:25:27 2004 *************** *** 20,26 **** USE_LIBTOOL= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" ! CONFIGURE_ARGS= --disable-doxygen --disable-dot INSTALLS_SHLIB= yes post-install: --- 20,26 ---- USE_LIBTOOL= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" ! CONFIGURE_ARGS= --disable-doxygen --disable-dot --with-opensp-includes=${PREFIX}/include/OpenSP INSTALLS_SHLIB= yes post-install: Thanks, <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16424.24104.544937.921024>