[packagekit] [PATCH] PK-Qt: Absolute vs relative CMAKE_INSTALL_LIBDIR
Daniel Nicoletti
dantti12 at gmail.com
Fri Oct 11 07:04:48 PDT 2013
Matthias what do you think, does it look right to you?
2013/9/24 Dimstar / Dominique Leuenberger <dimstar at opensuse.org>:
> Hi all,
>
> Let me first try to explain the issue seen:
> On an installed system (verified openSUSE 13.1 beta as well as Fedora 20
> RPMs), the file
> /usr/lib64/cmake/packagekit-qt2/packagekit-qt2-config.cmake
> contains:
>
> SET(PACKAGEKIT_QT2_LIBRARIES "/usr//usr/lib64/libpackagekit-qt2.so"
> CACHE FILEPATH "Libraries for PackageKit-Qt2")
>
> /usr/usr/lib64 is obviously wrong to the trained eye :).
>
> Both (openSUSE and Fedora) build using:
> cmake -DCMAKE_INSTALL_LIBDIR=/usr/lib64
> CMAKE_INSTALL_PREFIX is not defined and defaults thus to /usr
>
> Changing CMAKE_INSTALL_LIBDIR to be only lib64 would solve the .cmake
> content, but then the installation of the library goes to /lib64 (no
> more /usr/lib64), which is also not expected.
>
> I tracked it down to various different use cases and notations, which
> the attached patch solves in one way (there are certainly other ways as
> well).
>
> I discussed this shortly on #PackageKit @ Freenode with Daniel; final
> conclusion was that the patch did not look insane (ok, not exactly his
> wording.. he formulated it positive).
>
> Best regards,
> --
> Dimstar / Dominique Leuenberger <dimstar at opensuse.org>
>
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>
--
Daniel Nicoletti
KDE Developer - http://dantti.wordpress.com
More information about the PackageKit
mailing list