]> git.pld-linux.org Git - packages/libcaca.git/commitdiff
- added monodir patch (fix mono binding install on lib64 systems)
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 5 Dec 2012 18:56:35 +0000 (19:56 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 5 Dec 2012 18:56:35 +0000 (19:56 +0100)
libcaca-monodir.patch [new file with mode: 0644]
libcaca.spec

diff --git a/libcaca-monodir.patch b/libcaca-monodir.patch
new file mode 100644 (file)
index 0000000..c202d70
--- /dev/null
@@ -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@target="[^"]*/@target="@' < caca-sharp.dll.config > $(DESTDIR)$(monodir)/caca-sharp.dll.config
index 00383fa7112dc7b5b4665fa65f6bd0f6fdb1dbbe..5360bf9e3a119e31a81da0452260fd2780910db3 100644 (file)
@@ -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}
This page took 0.235647 seconds and 4 git commands to generate.