I have built kmymoney4-devel’s sources without using ports, but simply did a “cd kmymoney; mkdir build; cd build; cmake ..; make” and it turned out that cmake ran through with a few warnings and the build finished successfully after all.
So, that the build without “sudo port build” does not work can only mean that my port file is not properly configuring something, right? — $ cmake .. . . . Good - your configure finished. Now type 'make' to build KMyMoney. For more help, consult README.cmake -- Configuring done CMake Warning (dev) in kmymoney/widgets/CMakeLists.txt: Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link interface. Run "cmake --help-policy CMP0022" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Target "kmm_widgets" has an INTERFACE_LINK_LIBRARIES property which differs from its LINK_INTERFACE_LIBRARIES properties. INTERFACE_LINK_LIBRARIES: KDE4__kdeui;Qt4::QtGui;Qt4::QtCore;KDE4__kdecore LINK_INTERFACE_LIBRARIES: This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) in kmymoney/mymoney/CMakeLists.txt: Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link interface. Run "cmake --help-policy CMP0022" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Target "kmm_mymoney" has an INTERFACE_LINK_LIBRARIES property which differs from its LINK_INTERFACE_LIBRARIES properties. INTERFACE_LINK_LIBRARIES: KDE4__kdeui;Qt4::QtGui;Qt4::QtXml;Qt4::QtCore;KDE4__kdecore;KDE4__kio;/opt/local/lib/libgmp.dylib;/opt/local/lib/libalkimia.dylib;kmm_storage LINK_INTERFACE_LIBRARIES: This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) in kmymoney/plugins/CMakeLists.txt: Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link interface. Run "cmake --help-policy CMP0022" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Target "kmm_plugin" has an INTERFACE_LINK_LIBRARIES property which differs from its LINK_INTERFACE_LIBRARIES properties. INTERFACE_LINK_LIBRARIES: KDE4__kdeui;KDE4__kio;KDE4__kutils;/opt/local/lib/libgmp.dylib;/opt/local/lib/libalkimia.dylib LINK_INTERFACE_LIBRARIES: This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) in libkdchart/src/CMakeLists.txt: Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link interface. Run "cmake --help-policy CMP0022" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Target "kmm_kdchart" has an INTERFACE_LINK_LIBRARIES property which differs from its LINK_INTERFACE_LIBRARIES properties. INTERFACE_LINK_LIBRARIES: Qt4::QtSvg;Qt4::QtXml;Qt4::QtGui;Qt4::QtCore LINK_INTERFACE_LIBRARIES: This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done -- Build files have been written to: /Users/okram/WC/GIT/kmymoney.online-balance_highlighting_extended/build _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev