Date: Mon, 9 Mar 2009 16:06:30 -0400 From: Ross <westr@connection.ca> To: yds@CoolRat.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: dovecot-1.1.11 Message-ID: <1819649380.20090309160630@connection.ca>
next in thread | raw e-mail | index | archive | help
Hi there - found a small bug in the ports build Makefile for dovecot-1.1.11 on Freebsd v7.0. Simply: you need to specify v4.2+ of the Berkeley DB package. You just want to change the 'yes' to '42+', since db-4.1 doesn't include libdb.so. Also if 4.1 is installed in addition to any other db library, it'll be selected and set BDB_INCLUDE_DIR/LIB_DIR to /usr/local/lib so libdb.a of the other versions won't be found. Currently you've got: -= ## BDB Support # .if defined(WITH_BDB) && !defined(WITHOUT_BDB) USE_BDB= yes CONFIGURE_ARGS+= --with-db CFLAGS+= -I${BDB_INCLUDE_DIR} -L${BDB_LIB_DIR} PLIST_SUB+= BDB="" REINPLACE+= s!^\#(dict_db_config)!\1!; .else PLIST_SUB+= BDB="@comment " .endif -= and need to change to: ## BDB Support # .if defined(WITH_BDB) && !defined(WITHOUT_BDB) USE_BDB= 42+ CONFIGURE_ARGS+= --with-db CFLAGS+= -I${BDB_INCLUDE_DIR} -L${BDB_LIB_DIR} PLIST_SUB+= BDB="" REINPLACE+= s!^\#(dict_db_config)!\1!; .else PLIST_SUB+= BDB="@comment " .endif -= Simple thing at least. :-) Cheers, Ross. --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1819649380.20090309160630>