summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-09-25 12:35:44 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-09-25 12:35:44 +0000
commite3b86e3f0db2c8ae6f39dcc03df7f03b8af1a047 (patch)
treedf9c61567840ebca98975e248a2b3da5894f125e /dev-ml/ocaml-sqlite3/files
parentamd64 stable, bug #234980. (diff)
downloadhistorical-e3b86e3f0db2c8ae6f39dcc03df7f03b8af1a047.tar.gz
historical-e3b86e3f0db2c8ae6f39dcc03df7f03b8af1a047.tar.bz2
historical-e3b86e3f0db2c8ae6f39dcc03df7f03b8af1a047.zip
Dont use -Werror -pedantic when building, dont use install -D, keyword ~x86-fbsd
Package-Manager: portage-2.2_rc9/cvs/Linux 2.6.26.5 x86_64
Diffstat (limited to 'dev-ml/ocaml-sqlite3/files')
-rw-r--r--dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-0.22.0-destdir.patch11
-rw-r--r--dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-1.2.0-werror.patch13
2 files changed, 19 insertions, 5 deletions
diff --git a/dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-0.22.0-destdir.patch b/dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-0.22.0-destdir.patch
index 19bd30f627e6..2b6d81e74b37 100644
--- a/dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-0.22.0-destdir.patch
+++ b/dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-0.22.0-destdir.patch
@@ -1,13 +1,14 @@
-Index: ocaml-sqlite3-0.22.0/Makefile.in
+Index: ocaml-sqlite3-1.2.0/Makefile.in
===================================================================
---- ocaml-sqlite3-0.22.0.orig/Makefile.in
-+++ ocaml-sqlite3-0.22.0/Makefile.in
-@@ -37,7 +37,7 @@ install: sqlite3.cma sqlite3.cmxa sqlite
+--- ocaml-sqlite3-1.2.0.orig/Makefile.in
++++ ocaml-sqlite3-1.2.0/Makefile.in
+@@ -37,7 +37,8 @@ install: sqlite3.cma sqlite3.cmxa sqlite
[ -f *.so ] && SO_FILES=*.so; \
ocamlfind install sqlite3 META sqlite3.cmi sqlite3.mli sqlite3.cma *.cmxa *.a *.cmx $$SO_FILES
ocamlfind ocamlmktop -o sqlite3top -package "sqlite3" sqlite3.cma
- $(INSTALL) sqlite3top $(bindir)/sqlite3top
-+ $(INSTALL) -D sqlite3top $(DESTDIR)$(bindir)/sqlite3top
++ mkdir -p $(DESTDIR)$(bindir)
++ $(INSTALL) sqlite3top $(DESTDIR)$(bindir)/sqlite3top
remove: uninstall
uninstall:
diff --git a/dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-1.2.0-werror.patch b/dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-1.2.0-werror.patch
new file mode 100644
index 000000000000..3f863014d9b4
--- /dev/null
+++ b/dev-ml/ocaml-sqlite3/files/ocaml-sqlite3-1.2.0-werror.patch
@@ -0,0 +1,13 @@
+Index: ocaml-sqlite3-1.2.0/Makefile.in
+===================================================================
+--- ocaml-sqlite3-1.2.0.orig/Makefile.in
++++ ocaml-sqlite3-1.2.0/Makefile.in
+@@ -5,7 +5,7 @@ exec_prefix=@exec_prefix@
+ bindir=@bindir@
+
+ CC=@CC@
+-CFLAGS=@CPPFLAGS@ @CFLAGS@ -fPIC -Wall -pedantic -Werror -Wno-long-long
++CFLAGS=@CPPFLAGS@ @CFLAGS@ -fPIC -Wall -Wno-long-long
+ LIBS=@LIBS@
+ LDFLAGS=@LDFLAGS@
+