$OpenBSD: patch-source_tools_murun_c,v 1.4 2018/04/23 11:55:54 sthen Exp $
Index: source/tools/murun.c
--- source/tools/murun.c.orig
+++ source/tools/murun.c
@@ -1,5 +1,6 @@
 #include "mupdf/fitz.h"
 
+#ifdef WITH_JS
 #if FZ_ENABLE_PDF
 #include "mupdf/pdf.h"
 #endif
@@ -4876,5 +4877,6 @@ int murun_main(int argc, char **argv)
 	fz_drop_context(ctx);
 	return 0;
 }
+#endif
 
 #endif
