diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2012-10-10 20:32:57 +0200 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-11-04 09:53:52 -0500 |
commit | 30216ecc417d281a6a876e91e904f05154df4048 (patch) | |
tree | cfff5c9b4a934feb1718f4a1995c1ebfbfa8be06 /libraries/ocaml-camomile | |
parent | 9930076ed50b42faf7476d6e61c5641ade1125e9 (diff) |
libraries/ocaml-camomile: Added a patch to install a missing lib.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/ocaml-camomile')
-rw-r--r-- | libraries/ocaml-camomile/0002-Install-missing-camomileLibrary.a.patch | 23 | ||||
-rw-r--r-- | libraries/ocaml-camomile/ocaml-camomile.SlackBuild | 5 |
2 files changed, 27 insertions, 1 deletions
diff --git a/libraries/ocaml-camomile/0002-Install-missing-camomileLibrary.a.patch b/libraries/ocaml-camomile/0002-Install-missing-camomileLibrary.a.patch new file mode 100644 index 0000000000000..23d300d1b38f5 --- /dev/null +++ b/libraries/ocaml-camomile/0002-Install-missing-camomileLibrary.a.patch @@ -0,0 +1,23 @@ +From: Stephane Glondu <steph@glondu.net> +Date: Fri, 29 Jul 2011 19:46:45 +0200 +Subject: Install missing camomileLibrary.a + +Signed-off-by: Stephane Glondu <steph@glondu.net> +--- + Makefile.in | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index e1fc579..45dc0ac 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -406,7 +406,7 @@ install-with-ocamlfind: + files= &&\ + if [ -f camomileLibrary.cmx ]; then files=camomileLibrary.cmx; fi && \ + if [ -f camomileLibrary.cma ]; then files="camomileLibrary.cma $$files"; fi && \ +- if [ -f camomileLibrary.cmxa ]; then files="camomileLibrary.cmxa $$files"; fi && \ ++ if [ -f camomileLibrary.cmxa ]; then files="camomileLibrary.cmxa camomileLibrary.a $$files"; fi && \ + if [ -f camomileLibraryDefault.cmx ]; then files="camomileLibraryDefault.cmx $$files"; fi && \ + if [ -f camomileLibraryDyn.cmx ]; then files="camomileLibraryDyn.cmx $$files"; fi && \ + if [ -f camomile.cma ]; then files="camomile.cma $$files"; fi&& \ +-- diff --git a/libraries/ocaml-camomile/ocaml-camomile.SlackBuild b/libraries/ocaml-camomile/ocaml-camomile.SlackBuild index 8c34742aacbd8..19575c4770e6b 100644 --- a/libraries/ocaml-camomile/ocaml-camomile.SlackBuild +++ b/libraries/ocaml-camomile/ocaml-camomile.SlackBuild @@ -22,7 +22,7 @@ PRGNAM=ocaml-camomile VERSION=0.8.3 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM=camomile @@ -64,6 +64,9 @@ cd $SRCNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +# Install missing library, thanks debian +patch -p1 < $CWD/0002-Install-missing-camomileLibrary.a.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure --prefix=/usr |