freebsd-ports/sysutils/cfengine3/files/patch-ae
Michael Haro 985047d96a Per the instructions of the software, cfengine is now dependent on BerkleyDB 3.
In fact, the only thing (that I can tell anyway) that uses the DB functions is
cfd. I'm guessing most people don't use it, especially since I haven't heard
any complaints about it.

Also, it was putting some of the docs in / (for some really strange reason).
That should be fixed too. They are now put in {PREFIX}/share/doc/cfengine,
depending on NOPORTSDOC (somewhat reverse logic than normal, but it made the
amount of changes less).

Finally, strip the binaries.

PR:		26189
Submitted by:	    maintainer
2001-04-02 10:21:20 +00:00

15 lines
403 B
Text

This patch only makes sense if you subscribe to the FreeBSD port model.
Basically this only works if you have installed BerkleyDB from the ports
collection.
--- src/misc.c.orig Wed Jan 24 07:28:01 2001
+++ src/misc.c Wed Mar 28 12:41:06 2001
@@ -39,7 +39,7 @@
#ifdef HAVE_DB_H
-# include <db.h>
+#include <db3/db.h>
#endif
/*******************************************************************/