On 8/20/19 11:23 AM, Pierre Labastie via blfs-support wrote:
Pierre Labastie via blfs-support wrote:
(clean, but tricky sed, tentative below), or rerun
get_filename_component(...) after the macro has been called.
sed -e '/PACKAGE_INIT/i set(SAVE_PACKAGE_PREFIX_DIR
"${PACKAGE_PREFIX_DIR}")' \
-e '/^include/a set(PACKAGE_PREFIX_DIR "${SAVE_PACKAGE_PREFIX_DIR}")'
-i ECMConfig.cmake.in
(before starting building ECM)
So I've removed ECM from /opt/kf5, and rebuilt it in /usr, after
applying the sed above.
And plasma-workspace can be compiled...
I thought about doing that but didn't work out the actual command. I am
a bit uncomfortable with the change to extra-cmake-modules as it affects
every package that use it.
The only package that we have right now that is troublesome is
plasma-framework in kf5. How about, in kf5 only for plasma-framework:
sed -e
'/CMakeFind/i set(SAVE_PACKAGE_PREFIX_DIR "${PACKAGE_PREFIX_DIR}")' \
sed -e
'/find_dep/a set(PACKAGE_PREFIX_DIR "${SAVE_PACKAGE_PREFIX_DIR}")' \
-i src/plasmaquick/KF5PlasmaQuickConfig.cmake.in
Sorry for the email line wrap.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page