summaryrefslogtreecommitdiff
path: root/lang/ocaml/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ocaml/Makefile')
-rw-r--r--lang/ocaml/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile
index adddf4864d7..d5e1a2add7f 100644
--- a/lang/ocaml/Makefile
+++ b/lang/ocaml/Makefile
@@ -1,9 +1,13 @@
-# $NetBSD: Makefile,v 1.36 2005/02/04 21:35:51 adrianp Exp $
+# $NetBSD: Makefile,v 1.37 2005/06/07 00:59:48 minskim Exp $
.include "Makefile.common"
CONFIGURE_ARGS+= -no-tk
CONFIGURE_ENV+= disable_x11=yes
+CONFIGURE_ENV+= BDB_LIBS=${BDB_LIBS} \
+ BDB_BUILTIN=${USE_BUILTIN.${BDB_TYPE}}
+
+CPPFLAGS+= -DDB_DBM_HSEARCH
BUILD_TARGET= world
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
@@ -20,4 +24,5 @@ PLIST_SRC+= ${PKGDIR}/PLIST
PLIST_SRC+= ${PKGDIR}/PLIST.stub
.endif
+.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"