libraries/ocaml-camomile: Added a patch to install a missing lib.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2012-10-10 20:32:57 +02:00 committed by dsomero
parent 9930076ed5
commit 30216ecc41
2 changed files with 27 additions and 1 deletions

View file

@ -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&& \
--

View file

@ -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