diff options
author | minskim <minskim@pkgsrc.org> | 2005-06-07 00:59:48 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-06-07 00:59:48 +0000 |
commit | 3d4939b8840ec9450e2dd2238a97a4ba14c93266 (patch) | |
tree | 418ae9956af601301b7801efbb88fec4ba7d6188 /lang/ocaml/Makefile | |
parent | 8ddf2dbe5204d11b07c59b9a1449201949d64d50 (diff) | |
download | pkgsrc-3d4939b8840ec9450e2dd2238a97a4ba14c93266.tar.gz |
Make ocaml build with pkgsrc bdb.
Diffstat (limited to 'lang/ocaml/Makefile')
-rw-r--r-- | lang/ocaml/Makefile | 7 |
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" |