finance/libofx port fails if LOCALBASE is not /usr/local

Mike Meyer mwm at mired.org
Mon Feb 9 20:29:35 PST 2004


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 at mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


More information about the freebsd-ports mailing list