diff options
| author | abcd <abcd@gentoo.org> | 2010-02-06 22:11:47 -0500 |
|---|---|---|
| committer | abcd <abcd@gentoo.org> | 2010-02-06 22:12:18 -0500 |
| commit | 2693d6d7c2190cbe69041a9542428fb18b1ab4fb (patch) | |
| tree | b7725913e14ac276f110b49237927683b9284cd7 /kde-base/kdebindings-ruby/files/kdebindings-ruby-fix-linkage.patch | |
| parent | d36bb0cbb33b5b505b6a8813e9a99bf83d759b50 (diff) | |
| download | kde-2693d6d7c2190cbe69041a9542428fb18b1ab4fb.tar.gz kde-2693d6d7c2190cbe69041a9542428fb18b1ab4fb.tar.bz2 kde-2693d6d7c2190cbe69041a9542428fb18b1ab4fb.zip | |
[kde-base/kdebindings-ruby] New package
Diffstat (limited to 'kde-base/kdebindings-ruby/files/kdebindings-ruby-fix-linkage.patch')
| -rw-r--r-- | kde-base/kdebindings-ruby/files/kdebindings-ruby-fix-linkage.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/kde-base/kdebindings-ruby/files/kdebindings-ruby-fix-linkage.patch b/kde-base/kdebindings-ruby/files/kdebindings-ruby-fix-linkage.patch new file mode 100644 index 00000000000..3e087ff1603 --- /dev/null +++ b/kde-base/kdebindings-ruby/files/kdebindings-ruby-fix-linkage.patch @@ -0,0 +1,34 @@ +Unfortunately, it seems upstream hasn't added all the needed libraries for linking... fix that + +--- kdebindings/ruby/qtscript/CMakeLists.txt ++++ kdebindings/ruby/qtscript/CMakeLists.txt +@@ -4,7 +4,7 @@ + set(qtscript_LIBRARY_SRC qtscript.cpp qtscripthandlers.cpp) + + add_library(qtscript MODULE ${qtscript_LIBRARY_SRC}) +-target_link_libraries(qtscript ${QT_QTCORE_LIBRARY} ${RUBY_LIBRARY} smokeqtcore smokeqtscript qtruby4shared) ++target_link_libraries(qtscript ${QT_QTCORE_LIBRARY} ${QT_QTSCRIPT_LIBRARY} ${RUBY_LIBRARY} smokeqtcore smokeqtscript qtruby4shared) + set_target_properties(qtscript PROPERTIES PREFIX "") + install(TARGETS qtscript DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR}) + install(FILES qtscript.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/qtscript) +--- kdebindings/ruby/soprano/CMakeLists.txt ++++ kdebindings/ruby/soprano/CMakeLists.txt +@@ -3,7 +3,7 @@ + + set(rubysoprano_LIBRARY_SRC soprano.cpp sopranohandlers.cpp) + add_library(rubysoprano MODULE ${rubysoprano_LIBRARY_SRC}) +-target_link_libraries(rubysoprano ${QT_QTCORE_LIBRARY} ${RUBY_LIBRARY} smokeqtcore smokesoprano qtruby4shared) ++target_link_libraries(rubysoprano ${QT_QTCORE_LIBRARY} ${RUBY_LIBRARY} ${SOPRANO_LIBRARIES} smokeqtcore smokesoprano qtruby4shared) + set_target_properties(rubysoprano PROPERTIES PREFIX "" OUTPUT_NAME soprano) + install(TARGETS rubysoprano DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR}) + install(FILES soprano.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/soprano) +--- kdebindings/ruby/nepomuk/CMakeLists.txt ++++ kdebindings/ruby/nepomuk/CMakeLists.txt +@@ -7,6 +7,7 @@ + target_link_libraries(rubynepomuk + ${RUBY_LIBRARY} + ${NEPOMUK_LIBRARIES} ++ ${SOPRANO_LIBRARIES} + smokeqtcore + smokesoprano + smokekdecore |
