On Sun Aug 26, 2018 at 11:26:36AM +0100, Stuart Henderson wrote:
> On 2018/08/23 12:47, Jasper Lievisse Adriaanse wrote:
> > CVSROOT:    /cvs
> > Module name:        ports
> > Changes by: jas...@cvs.openbsd.org  2018/08/23 12:47:13
> > 
> > Modified files:
> >     net/cppzmq     : Makefile distinfo 
> >     net/cppzmq/pkg : PLIST 
> > Added files:
> >     net/cppzmq/patches: patch-libzmq-pkg-config_FindZeroMQ_cmake 
> > Removed files:
> >     net/cppzmq/patches: patch-libzmqPkgConfigFallback_cmake 
> > 
> > Log message:
> > update to cppzmq-4.3.0
> > 
> 
> ===>  Configuring for cppzmq-4.3.0
> -- Detected CPPZMQ Version - 4.3.0
> -- The C compiler identification is Clang 6.0.0
> -- The CXX compiler identification is Clang 6.0.0
> -- Check for working C compiler: /usr/obj/ports/cppzmq-4.3.0/bin/cc
> -- Check for working C compiler: /usr/obj/ports/cppzmq-4.3.0/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/obj/ports/cppzmq-4.3.0/bin/c++
> -- Check for working CXX compiler: /usr/obj/ports/cppzmq-4.3.0/bin/c++ -- 
> works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- CMake libzmq package not found, trying again with pkg-config (normal 
> install of zeromq)
> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1") 
> -- cppzmq v4.3.0
> CMake Error at /usr/local/share/cmake/Modules/ExternalProject.cmake:2275 
> (message):
>   error: could not find git for clone of googletest
> Call Stack (most recent call first):
>   /usr/local/share/cmake/Modules/ExternalProject.cmake:3029 
> (_ep_add_download_command)
>   CMakeLists.txt:8 (ExternalProject_Add)
> 
> -- Configuring incomplete, errors occurred!
> See also 
> "/usr/obj/ports/cppzmq-4.3.0/build-i386/tests/googletest/CMakeFiles/CMakeOutput.log".
> 
> ninja: error: loading 'build.ninja': No such file or directory
> CMake Error at tests/cmake/googletest.cmake:33 (add_subdirectory):
>   The source directory
> 
>     /usr/obj/ports/cppzmq-4.3.0/build-i386/tests/googletest/googletest-src
> 
>   does not contain a CMakeLists.txt file.
> Call Stack (most recent call first):
>   tests/CMakeLists.txt:13 (fetch_googletest)
> 
> 
> -- Configuring incomplete, errors occurred!
> 

Disable tests!?

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/cppzmq/Makefile,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 Makefile
--- Makefile    23 Aug 2018 18:47:13 -0000      1.2
+++ Makefile    26 Aug 2018 13:24:32 -0000
@@ -19,4 +19,6 @@ MODULES =             devel/cmake
 
 BUILD_DEPENDS =                net/zeromq
 
+CONFIGURE_ARGS +=      -DCPPZMQ_BUILD_TESTS:Bool=No
+
 .include <bsd.port.mk>

Reply via email to