Index: head/math/kig-kde4/Makefile =================================================================== --- head/math/kig-kde4/Makefile (revision 464245) +++ head/math/kig-kde4/Makefile (revision 464246) @@ -1,20 +1,21 @@ # $FreeBSD$ PORTNAME= kig PORTVERSION= ${KDE4_VERSION} -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= math kde kde-kde4 MAINTAINER= kde@FreeBSD.org COMMENT= KDE 4 interactive geometry application LIB_DEPENDS= ${PY_BOOST} USES= cmake:outsource compiler:c++11-lib kde:4 python:run \ shebangfix tar:xz -USE_KDE= kdelibs automoc4 -USE_QT4= gui xml moc_build qmake_build rcc_build uic_build +USE_KDE= kdelibs soprano automoc4 +USE_QT4= corelib dbus gui network svg xml \ + moc_build qmake_build rcc_build uic_build SHEBANG_FILES= pykig/pykig.py .include Index: head/math/kig-kde4/files/patch-cmake_modules_FindBoostPython.cmake =================================================================== --- head/math/kig-kde4/files/patch-cmake_modules_FindBoostPython.cmake (nonexistent) +++ head/math/kig-kde4/files/patch-cmake_modules_FindBoostPython.cmake (revision 464246) @@ -0,0 +1,21 @@ +Requiring Boost::Python in the libraries means that the test for the header +file links to that library -- which in turn needs Python libraryes. Those +have not been searched for, yet, so the header search fails with linker +errors. The Python libraries are searched for later in this module. + +--- cmake/modules/FindBoostPython.cmake.orig 2018-03-11 22:44:22 UTC ++++ cmake/modules/FindBoostPython.cmake +@@ -36,10 +36,12 @@ find_package(Boost QUIET COMPONENTS pyth + cmake_push_check_state() + set(CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}) + set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${Boost_INCLUDE_DIRS}) +-set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${Boost_PYTHON_LIBRARY}) + + check_include_file_cxx(boost/shared_ptr.hpp HAVE_BOOST_SHARED_PTR_HPP) + ++# Don't want to try linking with Python libraries while checking the existence of shared_ptr.hpp ++set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${Boost_PYTHON_LIBRARY}) ++ + # This variable is not checked/used when user provide both + # BoostPython_INCLUDE_DIRS and BoostPython_LIBRARIES, by design. + # If user wants to speed up configure stage, he's allowed to do this. Property changes on: head/math/kig-kde4/files/patch-cmake_modules_FindBoostPython.cmake ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property