Bug 341289 - Install mkspecs file to correct directory
Summary: Install mkspecs file to correct directory
Status: RESOLVED NOT A BUG
Alias: None
Product: qca
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Ivan Romanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-26 12:28 UTC by Jonathan Riddell
Modified: 2014-11-26 17:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
install to correct dir (1.29 KB, patch)
2014-11-26 12:29 UTC, Jonathan Riddell
Details
Error when installing (10.87 KB, text/plain)
2014-11-26 12:50 UTC, Ivan Romanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Riddell 2014-11-26 12:28:05 UTC
mkspecs files currently get installed to /usr/mkspecs which is incorrect

I added this attached patch to install it to the correct directory


Reproducible: Always
Comment 1 Jonathan Riddell 2014-11-26 12:29:46 UTC
Created attachment 89731 [details]
install to correct dir

patch from kubuntu package to install to correct dir

we also have to set -DQCA_SUFFIX="qt5" because it is not binary compatible.  The correct fix is to change the soversion which is at https://git.reviewboard.kde.org/r/121168/
Comment 2 Ivan Romanov 2014-11-26 12:50:32 UTC
Created attachment 89732 [details]
Error when installing
Comment 3 Ivan Romanov 2014-11-26 12:53:24 UTC
I tried to compile and install with your patch in own home directory. I got error.
When using CMAKE_INSTALL_PREFIX all files MUST be under CMAKE_INSTALL_PREFIX. The patch brokes this. So patch is not correct. Use QCA_FEATURE_INSTALL_DIR to set correct feature dir or not use CMAKE_INSTALL_PREFIX