831151a03f
previous maintainer ok).
26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
$OpenBSD: patch-modules_db_berkeley_Makefile,v 1.1 2012/04/22 21:44:24 sthen Exp $
|
|
--- modules/db_berkeley/Makefile.orig Tue Jan 31 16:47:40 2012
|
|
+++ modules/db_berkeley/Makefile Fri Feb 3 15:24:29 2012
|
|
@@ -11,10 +11,10 @@ NAME=db_berkeley.so
|
|
# extra debug messages
|
|
# -DBDB_EXTRA_DEBUG is optional
|
|
DEFS +=-DSER_MOD_INTERFACE -I$(LOCALBASE)/include -I$(LOCALBASE)/BerkeleyDB.4.6/include \
|
|
- -I$(SYSBASE)/include
|
|
+ -I$(SYSBASE)/include -I$(LOCALBASE)/include/db4
|
|
|
|
|
|
-LIBS=-L$(LOCALBASE)/lib -L$(SYSBASE)/lib -L$(LOCALBASE)/BerkeleyDB.4.6/lib -ldb
|
|
+LIBS=-L$(LOCALBASE)/lib -L$(SYSBASE)/lib -L$(LOCALBASE)/BerkeleyDB.4.6/lib -L$(LOCALBASE)/lib/db4 -ldb
|
|
|
|
SERLIBPATH=../../lib
|
|
SER_LIBS=$(SERLIBPATH)/srdb2/srdb2 $(SERLIBPATH)/srdb1/srdb1 $(SERLIBPATH)/kmi/kmi
|
|
@@ -25,7 +25,7 @@ ifeq ($(INSTALL_FLAVOUR),kamailio)
|
|
# extra install for kamailio
|
|
|
|
install-berkeley-scripts: $(bin_prefix)/$(bin_dir)
|
|
- BERKELEYDBON=yes make -C ../../utils/kamctl/ install-modules
|
|
+ BERKELEYDBON=yes $(MAKE) -C ../../utils/kamctl/ install-modules
|
|
|
|
install-scripts: install-berkeley-scripts
|
|
|