Warning, /games/ksirk/ksirk/023_compile_with_ksirk.patch is written in an unsupported language. File is not indexed.

0001 Index: CMakeLists.txt
0002 ===================================================================
0003 --- CMakeLists.txt      (revision 855877)
0004 +++ CMakeLists.txt      (working copy)
0005 @@ -4,6 +5,9 @@
0006  
0007  FIND_PACKAGE(ZLIB REQUIRED)
0008  
0009 +FIND_PACKAGE(QCA2 REQUIRED)
0010 +macro_log_feature(QCA2_FOUND "QCA2" "Qt Cryptographic Architecture" "http://delta.affinix.com/qca" FALSE "2.0.0" "Needed to build Kopete's GroupWise and Jabberprotocols.")
0011 +
0012  include_directories( 
0013  ${CMAKE_CURRENT_SOURCE_DIR}/cutestuff/ 
0014  ${CMAKE_CURRENT_SOURCE_DIR}/cutestuff/legacy/ 
0015 @@ -66,7 +70,7 @@
0016      ${iris_SRCS} 
0017  )
0018  
0019 -kde4_moc_headers(iris_kopete 
0020 +kde4_moc_headers(iris_ksirk 
0021  #      cutestuff/legacy/ndns.h
0022  #      cutestuff/legacy/safedelete.h
0023  #      cutestuff/legacy/servsock.h
0024 @@ -98,23 +102,23 @@
0025  #      iris/xmpp-im/xmpp_discoinfotask.h
0026  )
0027  
0028 -kde4_add_library(iris_kopete SHARED ${libiris_SRCS})
0029 +kde4_add_library(iris_ksirk SHARED ${libiris_SRCS})
0030  
0031 -set(iris_kopete_libs ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QT_QTXML_LIBRARY}
0032 -                     ${IDN_LIBRARY} ${QCA2_LIBRARIES} ${ZLIB_LIBRARIES})
0033 +set(iris_ksirk_libs ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QT_QTXML_LIBRARY}
0034 +                     ${IDN_LIBRARY} ${QCA2_LIBRARIES} ${ZLIB_LIBRARIES} -lidn)
0035  if(WIN32)
0036 -  set(iris_kopete_libs ${iris_kopete_libs} ws2_32)
0037 +  set(iris_ksirk_libs ${iris_ksirk_libs} ws2_32)
0038  endif(WIN32)
0039  
0040  if(HAVE_NSL_LIBRARY)
0041    # This is probably Solaris, and libiris needs to link
0042    # to libnsl for gethostbyname
0043 -  set(iris_kopete_libs ${iris_kopete_libs} nsl)
0044 +  set(iris_ksirk_libs ${iris_ksirk_libs} nsl)
0045  endif(HAVE_NSL_LIBRARY)
0046 -target_link_libraries(iris_kopete ${iris_kopete_libs})
0047 +target_link_libraries(iris_ksirk ${iris_ksirk_libs})
0048  
0049 -set_target_properties(iris_kopete PROPERTIES VERSION 1.0.0 SOVERSION 1 )
0050 -install(TARGETS iris_kopete ${INSTALL_TARGETS_DEFAULT_ARGS})
0051 +set_target_properties(iris_ksirk PROPERTIES VERSION 1.0.0 SOVERSION 1 )
0052 +install(TARGETS iris_ksirk ${INSTALL_TARGETS_DEFAULT_ARGS})
0053  
0054  ########### install files ###############
0055