There are two errors in the gnucash Makefile which prevent it from building correctly when db41 is installed. First, the db4.0 dependency is not removed, and second, the db41 dependency has the wrong shared libary name. Fix: Remove the db4.0 line from the standard LIBDEPENDS macro definition; change db4.0 to db41.1 in the conditional section when a db41 header file exists. Unified diff to follow. How-To-Repeat: Install databases/db41 and then attempt to make finance/gnucash.
Responsible Changed From-To: freebsd-ports-bugs->gnome Over to maintainer(s).
Fix: Apply the following patch to finance/gnucash/Makefile. --- Makefile.orig 2005-04-14 09:59:44.000000000 -0400 +++ Makefile 2005-04-14 10:00:18.000000000 -0400 @@ -21,7 +21,6 @@ guppi.16:${PORTSDIR}/math/guppi \ popt.0:${PORTSDIR}/devel/popt \ ofx.1:${PORTSDIR}/finance/libofx \ - db4.0:${PORTSDIR}/databases/db4 \ gw-standard.0:${PORTSDIR}/devel/g-wrap RUN_DEPENDS= ${LOCALBASE}/share/guile/slibcat:${PORTSDIR}/lang/slib-guile \ ${SITE_PERL}/HTML/Base.pm:${PORTSDIR}/www/p5-HTML \ @@ -51,7 +50,7 @@ .include <bsd.port.pre.mk> .if exists(${LOCALBASE}/include/db41/db_185.h) -LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db41 +LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41 post-patch: @${REINPLACE_CMD} -e "s|db4/db_185.h|db41/db_185.h|g" \ ${WRKSRC}/configure
State Changed From-To: open->closed Committed, thanks!