$NetBSD$

--- src/shell/Makefile.orig	2010-02-14 20:44:34.000000000 +0000
+++ src/shell/Makefile
@@ -22,7 +22,7 @@ distclean: clean
 
 install:
 	files=`$(COLLECT_FILES) *.mli *.cmi *.cma *.cmxa *.a dll* META` && \
-	$(OCAMLFIND) install shell $$files
+	$(OCAMLFIND) install -ldconf /dev/null -destdir ${DESTDIR}`ocamlc -where`/site-lib shell $$files
 
 uninstall:
 	$(OCAMLFIND) remove shell
