$NetBSD: patch-Makefile,v 1.1 2014/10/27 12:01:36 jaapb Exp $

Use proper location for camlp4
--- Makefile.orig	2014-10-21 11:45:17.000000000 +0000
+++ Makefile
@@ -41,7 +41,7 @@ itarget:
 
 _build/Camlp4MacroParser.cmxs:
 	mkdir -p _build
-	ocamlopt -shared $(shell ocamlc -where)/camlp4/Camlp4Parsers/Camlp4MacroParser.cmx -o _build/Camlp4MacroParser.cmxs
+	ocamlopt -shared ${PREFIX}/lib/ocaml/camlp4/Camlp4Parsers/Camlp4MacroParser.cmx -o _build/Camlp4MacroParser.cmxs
 
 $(DOSELIBS)/cudf.%:
 	$(OCAMLBUILD) $(OBFLAGS) cudf/cudf.$*
