libattica/libattica-0.2.0-qt_include_prefix.patch

31 lines
1.3 KiB
Diff
Raw Permalink Normal View History

diff -Nru attica-0.2.0.orig//lib/cmake/libattica.pc.cmake attica-0.2.0/lib/cmake/libattica.pc.cmake
--- attica-0.2.0.orig//lib/cmake/libattica.pc.cmake 2010-10-15 17:33:39.000000000 +0200
+++ attica-0.2.0/lib/cmake/libattica.pc.cmake 2011-03-11 16:37:14.395893070 +0100
@@ -1,12 +1,12 @@
prefix=${CMAKE_INSTALL_PREFIX}
exec_prefix=${CMAKE_INSTALL_PREFIX}/bin
libdir=${LIB_DESTINATION}
-includedir=${CMAKE_INSTALL_PREFIX}/include
+includedir=${CMAKE_INSTALL_PREFIX}/include/qt4
Name: libattica
Description: Qt library to access Open Collaboration Services
#Requires:
Version: ${CMAKE_LIBATTICA_VERSION_MAJOR}.${CMAKE_LIBATTICA_VERSION_MINOR}.${CMAKE_LIBATTICA_VERSION_PATCH}
Libs: -L${LIB_DESTINATION} -lattica
-Cflags: -I${CMAKE_INSTALL_PREFIX}/include
+Cflags: -I${CMAKE_INSTALL_PREFIX}/include/qt4
diff -Nru attica-0.2.0.orig//lib/CMakeLists.txt attica-0.2.0/lib/CMakeLists.txt
--- attica-0.2.0.orig//lib/CMakeLists.txt 2010-10-15 17:33:39.000000000 +0200
+++ attica-0.2.0/lib/CMakeLists.txt 2011-03-11 16:36:43.186817819 +0100
@@ -118,7 +118,7 @@
providermanager.h
provider.h
${CMAKE_CURRENT_BINARY_DIR}/version.h
- DESTINATION include/attica COMPONENT Devel
+ DESTINATION include/qt4/attica COMPONENT Devel
)
# Install package config file