#51000: cmake-1.0: better support for relocation of libraries -------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: -------------------------+-------------------------------- When changing `-DCMAKE_INSTALL_LIBDIR` I bumped into the following problem: * #50426 * http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1848 Namely, `cmake-1.0.tcl` sets `-DCMAKE_INSTALL_NAME_DIR=${prefix}/lib` plus some `RPATH`-related variables that conflicted with the desired libdir setting. I fixed this in r147160, but it would be really nice if I didn't have to use {{{ configure.args-delete -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib \ -DCMAKE_INSTALL_RPATH=${prefix}/lib -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON }}} and then repeat the same setting as for `-DCMAKE_INSTALL_LIBDIR` three times again. Then again I don't know what a better syntax should be. I'm fine wit adding all three variables again, I only don't particularly like the fact that I have to sniff which variables are set by default and then do acrobatics to remove them. -- Ticket URL: <https://trac.macports.org/ticket/51000> MacPorts <https://www.macports.org/> Ports system for OS X