[packages/libcaca] - added monodir patch (fix mono binding install on lib64 systems)
qboosh
qboosh at pld-linux.org
Wed Dec 5 19:55:56 CET 2012
commit 5e3ad4c145af8cbbcead71046c178122c6cd301d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Dec 5 19:56:35 2012 +0100
- added monodir patch (fix mono binding install on lib64 systems)
libcaca-monodir.patch | 20 ++++++++++++++++++++
libcaca.spec | 2 ++
2 files changed, 22 insertions(+)
---
diff --git a/libcaca.spec b/libcaca.spec
index 00383fa..5360bf9 100644
--- a/libcaca.spec
+++ b/libcaca.spec
@@ -24,6 +24,7 @@ Source0: http://libcaca.zoy.org/files/libcaca/%{name}-%{version}.%{subver}.tar.g
Patch0: install.patch
Patch1: %{name}-ruby1.9.patch
Patch2: %{name}-format.patch
+Patch3: %{name}-monodir.patch
URL: http://libcaca.zoy.org/
BuildRequires: OpenGL-devel
BuildRequires: autoconf >= 2.50
@@ -245,6 +246,7 @@ Wiązania języka Ruby do libcaca.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
%{__libtoolize}
diff --git a/libcaca-monodir.patch b/libcaca-monodir.patch
new file mode 100644
index 0000000..c202d70
--- /dev/null
+++ b/libcaca-monodir.patch
@@ -0,0 +1,20 @@
+--- libcaca-0.99.beta18/caca-sharp/Makefile.am.orig 2012-12-04 19:55:23.995486370 +0100
++++ libcaca-0.99.beta18/caca-sharp/Makefile.am 2012-12-05 19:55:49.460351660 +0100
+@@ -1,7 +1,7 @@
+
+ # We need to install the .config file ourselves because of a gacutil
+ # bug (https://bugzilla.novell.com/show_bug.cgi?id=363341)
+-monodir = $(libdir)/mono/caca-sharp-0.0
++monodir = $(prefix)/lib/mono/caca-sharp-0.0
+ if USE_CSHARP
+ noinst_DATA = caca-sharp.dll caca-sharp.dll.config test.exe
+ endif
+@@ -34,7 +34,7 @@
+ if USE_CSHARP
+ install-data-local:
+ MONO_SHARED_DIR=$$HOME $(GACUTIL) -i caca-sharp.dll \
+- -package caca-sharp-0.0 -f -root $(DESTDIR)$(libdir)
++ -package caca-sharp-0.0 -f -root $(DESTDIR)$(prefix)/lib
+ $(mkinstalldirs) $(DESTDIR)$(monodir)
+ sed -e 's at target="[^"]*/@target="@' < caca-sharp.dll.config > $(DESTDIR)$(monodir)/caca-sharp.dll.config
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libcaca.git/commitdiff/5e3ad4c145af8cbbcead71046c178122c6cd301d
More information about the pld-cvs-commit
mailing list