summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-01-04 01:27:16 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-01-04 01:27:16 +0000
commitdf83dca2ca87a24ba1ef987591f77e4abfd4da35 (patch)
tree33e08d6c2fa87f3a026ccf8d88215ef2776bb965 /dev-ml/ocamlgraph/files
parentMarking lcms-1.17 ppc for bug 203237 (diff)
downloadgentoo-2-df83dca2ca87a24ba1ef987591f77e4abfd4da35.tar.gz
gentoo-2-df83dca2ca87a24ba1ef987591f77e4abfd4da35.tar.bz2
gentoo-2-df83dca2ca87a24ba1ef987591f77e4abfd4da35.zip
version bump, allow building without ocamlopt
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'dev-ml/ocamlgraph/files')
-rw-r--r--dev-ml/ocamlgraph/files/digest-ocamlgraph-0.99b3
-rw-r--r--dev-ml/ocamlgraph/files/ocamlgraph-0.99b-installfindlib.patch21
2 files changed, 24 insertions, 0 deletions
diff --git a/dev-ml/ocamlgraph/files/digest-ocamlgraph-0.99b b/dev-ml/ocamlgraph/files/digest-ocamlgraph-0.99b
new file mode 100644
index 000000000000..a3d825707350
--- /dev/null
+++ b/dev-ml/ocamlgraph/files/digest-ocamlgraph-0.99b
@@ -0,0 +1,3 @@
+MD5 21c2b980fc541d6a277f73263b322772 ocamlgraph-0.99b.tar.gz 175958
+RMD160 72f48b2f89b2dd9025326c2ec7f7f60291b5ac95 ocamlgraph-0.99b.tar.gz 175958
+SHA256 c4a646cfd152791268d9c2716c5e1c55bf3f39e8637a85f3c3937e3dd4dafec7 ocamlgraph-0.99b.tar.gz 175958
diff --git a/dev-ml/ocamlgraph/files/ocamlgraph-0.99b-installfindlib.patch b/dev-ml/ocamlgraph/files/ocamlgraph-0.99b-installfindlib.patch
new file mode 100644
index 000000000000..5c68c0c15a2d
--- /dev/null
+++ b/dev-ml/ocamlgraph/files/ocamlgraph-0.99b-installfindlib.patch
@@ -0,0 +1,21 @@
+Index: ocamlgraph-0.99b/Makefile.in
+===================================================================
+--- ocamlgraph-0.99b.orig/Makefile.in
++++ ocamlgraph-0.99b/Makefile.in
+@@ -208,10 +208,14 @@ install-byte:
+ install-opt: install-byte
+ cp -f graph$(LIBEXT) graph.cmx $(CMXA) "$(OCAMLLIB)"
+
++ifneq ($(OCAMLOPT),no)
++INSTALL_OPT=graph$(LIBEXT) graph.cmx $(CMXA)
++endif
++
+ install-findlib: META
+ ifdef OCAMLFIND
+- $(OCAMLFIND) install ocamlgraph META *.mli \
+- graph$(LIBEXT) graph.cmx graph.cmo graph.cmi $(CMA) $(CMXA)
++ $(OCAMLFIND) install ocamlgraph META src/*.mli lib/*.mli \
++ $(INSTALL_OPT) graph.cmo graph.cmi $(CMA)
+ endif
+
+ # documentation