[packages/ocapi] - added libdir patch (fix libdir in ocapi-config)

qboosh qboosh at pld-linux.org
Sat Mar 15 15:47:46 CET 2014


commit 8b39bf390800de5652bb86f14f3ec060530dbe85
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 15 15:50:50 2014 +0100

    - added libdir patch (fix libdir in ocapi-config)

 ocapi-libdir.patch | 11 +++++++++++
 ocapi.spec         |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/ocapi.spec b/ocapi.spec
index c0dd3be..92e8c26 100644
--- a/ocapi.spec
+++ b/ocapi.spec
@@ -11,6 +11,7 @@ License:	LGPL v2.1+
 Group:		Libraries
 Source0:	http://www.opendap.org/pub/OCAPI/source/%{name}-%{version}.tar.gz
 # Source0-md5:	c1a4f9391d7f88b0f9e93bfcb9c5181f
+Patch0:		%{name}-libdir.patch
 URL:		http://opendap.org/ocapi/
 BuildRequires:	autoconf >= 2.57
 BuildRequires:	automake
@@ -70,6 +71,7 @@ Statyczna biblioteka OCAPI.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/ocapi-libdir.patch b/ocapi-libdir.patch
new file mode 100644
index 0000000..84f0c85
--- /dev/null
+++ b/ocapi-libdir.patch
@@ -0,0 +1,11 @@
+--- ocapi-1.4.3/ocapi-config.in.orig	2006-01-31 11:43:18.000000000 +0100
++++ ocapi-1.4.3/ocapi-config.in	2014-03-15 15:47:52.166721968 +0100
+@@ -4,7 +4,7 @@
+ #
+ prefix=@prefix@
+ exec_prefix=${prefix}
+-libdir=${exec_prefix}/lib
++libdir=@libdir@
+ includedir=${prefix}/include
+ 
+ usage()
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocapi.git/commitdiff/8b39bf390800de5652bb86f14f3ec060530dbe85



More information about the pld-cvs-commit mailing list