diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-01-02 21:23:59 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-01-02 21:23:59 +0000 |
commit | 54d859b0fbf854e852fc5e0ce3b7d0d7df0c1f13 (patch) | |
tree | 55e3f303ed09e597f090adb09e7477d64799c8aa /dev-ml/ocaml-sqlite3/files | |
parent | dev-ml/ocaml-sqlite3 ocamlopt useflag (diff) | |
download | gentoo-2-54d859b0fbf854e852fc5e0ce3b7d0d7df0c1f13.tar.gz gentoo-2-54d859b0fbf854e852fc5e0ce3b7d0d7df0c1f13.tar.bz2 gentoo-2-54d859b0fbf854e852fc5e0ce3b7d0d7df0c1f13.zip |
Add support to not build with ocamlopt
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'dev-ml/ocaml-sqlite3/files')
-rw-r--r-- | dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-0.23.0-noocamlopt.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-0.23.0-noocamlopt.patch b/dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-0.23.0-noocamlopt.patch new file mode 100644 index 000000000000..cac7e4700446 --- /dev/null +++ b/dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-0.23.0-noocamlopt.patch @@ -0,0 +1,16 @@ +Index: ocaml-sqlite3-0.23.0/Makefile.in +=================================================================== +--- ocaml-sqlite3-0.23.0.orig/Makefile.in ++++ ocaml-sqlite3-0.23.0/Makefile.in +@@ -33,9 +33,9 @@ distclean: clean + + # install rebuilds sqlite3top to point to the findlib-managed dll and not the + # one in . +-install: sqlite3.cma sqlite3.cmxa sqlite3top ++install: sqlite3.cma sqlite3top + [ -f *.so ] && SO_FILES=*.so; \ +- ocamlfind install sqlite3 META sqlite3.cmi sqlite3.mli sqlite3.cma *.cmxa *.a *.cmx $$SO_FILES ++ ocamlfind install sqlite3 META sqlite3.cmi sqlite3.mli sqlite3.cma $(wildcard *.cmxa *.a *.cmx) $$SO_FILES + ocamlfind ocamlmktop -o sqlite3top -package "sqlite3" sqlite3.cma + $(INSTALL) -D sqlite3top $(DESTDIR)$(bindir)/sqlite3top + |