SHA256
1
0
forked from pool/ccrtp

Accepting request 109538 from home:k0da:ppc

- ppc64 should also install libs in /usr/lib64

OBS-URL: https://build.opensuse.org/request/show/109538
OBS-URL: https://build.opensuse.org/package/show/network:telephony/ccrtp?expand=0&rev=5
This commit is contained in:
Ismail Dönmez 2012-03-16 13:29:25 +00:00 committed by Git OBS Bridge
parent 336c5b7250
commit c56404297c
3 changed files with 20 additions and 0 deletions

13
ccrtp-ppc64.patch Normal file
View File

@ -0,0 +1,13 @@
Index: ccrtp-2.0.1/CMakeLists.txt
===================================================================
--- ccrtp-2.0.1.orig/CMakeLists.txt
+++ ccrtp-2.0.1/CMakeLists.txt
@@ -32,7 +32,7 @@ set (PACKAGE ccrtp)
# this caused problems in debian where it has to always be lib....
set(LIB64 "")
if (NOT EXISTS /etc/debian_version)
- if ( "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64" )
+ if ( "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64" OR "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "ppc64" )
set(LIB64 "64")
endif()
endif()

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 15 14:30:25 UTC 2012 - dvaleev@suse.com
- ppc64 should also install libs in /usr/lib64
-------------------------------------------------------------------
Tue Sep 27 08:04:52 UTC 2011 - coolo@suse.com

View File

@ -26,6 +26,7 @@ Summary: A Common C++ Class Framework for RTP Packets
Url: http://www.gnu.org/software/ccrtp/
Group: System/Libraries
Source0: %{name}-%{version}.tar.bz2
Patch1: ccrtp-ppc64.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libgcrypt-devel
@ -66,6 +67,7 @@ ccrtp
%prep
%setup -q -n ccrtp-%{version}
%patch1 -p1
%build
mkdir build