> On Aug. 28, 2015, 7:33 p.m., Martin Klapetek wrote: > > CMakeLists.txt, line 38 > > <https://git.reviewboard.kde.org/r/124962/diff/1/?file=399442#file399442line38> > > > > Shouldn't this be ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR} then? > > > > Also, are pam modules actually supported outside of the default dir (I > > have no clue)? > > Pinak Ahuja wrote: > According to this: > http://www.cmake.org/cmake/help/v3.0/module/GNUInstallDirs.html the syntax > I've used is correct. > I don't know if the pam modules are supported outside the default dir > either. My kdesrc build was failing because kwallet-pam was not respecting > the install prefix and installing the libs in /lib64 therefore I investigated > the problem.
> According to this: > http://www.cmake.org/cmake/help/v3.0/module/GNUInstallDirs.html the syntax > I've used is correct Fwiw, that link only says that "${CMAKE_INSTALL_LIBDIR}" is a relative "lib/" path. The proper explanation is here: http://www.cmake.org/cmake/help/v3.0/command/install.html "If a relative path is given it is interpreted relative to the value of the CMAKE_INSTALL_PREFIX variable". So that's good. But in other usages outside of install(), keep in mind that it gives you relative path only. > My kdesrc build was failing because kwallet-pam was not respecting the > install prefix and installing the libs in /lib64 Well yes, because that's where PAM expects this module to be by default. So that's a whole wrong reason for this fix :P But I've done the homework and it is actually possible to configure PAM with an absolute path in /etc/pam.d/stuff. So I guess this patch is fine, but I'd like to get some OKs from some distro people too. - Martin ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/124962/#review84546 ----------------------------------------------------------- On Aug. 28, 2015, 9:39 a.m., Pinak Ahuja wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/124962/ > ----------------------------------------------------------- > > (Updated Aug. 28, 2015, 9:39 a.m.) > > > Review request for Plasma and Martin Klapetek. > > > Repository: kwallet-pam > > > Description > ------- > > pam_kwallet5.so was being installed to /lib(64) irrespective of what the > installation prefix was set to. This patch fixes it. > > > Diffs > ----- > > CMakeLists.txt f60ac41 > > Diff: https://git.reviewboard.kde.org/r/124962/diff/ > > > Testing > ------- > > pam_kwallet5.so seems to install under the directory set as > CMAKE_INSTALL_PREFIX > > > Thanks, > > Pinak Ahuja > >
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel