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. -- _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"