LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File graphviz-2.18-do_not_use_ocamlopt.patch of Package graphviz-plugins (Project graphics)

Index: tclpkg/gv/Makefile.am
===================================================================
--- tclpkg/gv/Makefile.am.orig	2012-06-11 16:26:00.110677422 +0200
+++ tclpkg/gv/Makefile.am	2012-06-11 16:29:39.727382908 +0200
@@ -100,9 +100,9 @@ gv_lua.cpp: gv.i
 
 pkgocamldir = $(pkglibdir)/ocaml
 OCAML_data = gv.cmo gv.cma gv.cmi gv.mli META.gv
-if WITH_OCAMLOPT
-OCAML_data += gv.a gv.cmx gv.cmxa
-endif
+#if WITH_OCAMLOPT
+#OCAML_data += gv.a gv.cmx gv.cmxa
+#endif
 nodist_libgv_ocaml_la_SOURCES = gv_ocaml.cpp $(OCAML_data)
 libgv_ocaml_la_SOURCES = $(BASESOURCES) gv_dummy_init.c
 libgv_ocaml_la_LIBADD = $(BASELIBS) $(OCAML_LIBS)
Index: tclpkg/gv/Makefile.in
===================================================================
--- tclpkg/gv/Makefile.in.orig	2012-06-11 16:26:00.000000000 +0200
+++ tclpkg/gv/Makefile.in	2012-06-11 16:30:07.711071262 +0200
@@ -38,7 +38,6 @@ POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
 @WITH_CGRAPH_TRUE@am__append_1 = -DWITH_CGRAPH
-@WITH_OCAMLOPT_TRUE@am__append_2 = gv.a gv.cmx gv.cmxa
 @WITH_SHARP_TRUE@@WITH_SWIG_TRUE@am__append_3 = gv.3sharp
 @WITH_SHARP_TRUE@@WITH_SWIG_TRUE@am__append_4 = gv.3sharp.pdf
 @WITH_SHARP_TRUE@@WITH_SWIG_TRUE@am__append_5 = test_sharp