$OpenBSD$ ensure we don't hook into miniupnpc, if it tries to use the one we have in ports, it will fail during build. upstream is using an unreleased checkout. --- server/CMakeLists.txt.orig Fri Apr 26 20:10:57 2013 +++ server/CMakeLists.txt Fri Apr 26 20:11:25 2013 @@ -31,8 +31,8 @@ include_directories(${JSONCPP_DIR} ${COMMON_DIR} ${SER # MiniUPnPc find_package(MiniUPnPc) if(MINIUPNPC_FOUND) - add_definitions(-DODA_HAVE_MINIUPNP) - include_directories(${MINIUPNPC_INCLUDE_DIRS}) +# add_definitions(-DODA_HAVE_MINIUPNP) +# include_directories(${MINIUPNPC_INCLUDE_DIRS}) else() message(WARNING "MiniUPnPc not found, server will not be built with MiniUPnPc support.") endif() @@ -45,9 +45,9 @@ add_executable(odasrv if(MINIUPNPC_FOUND) if(MINIUPNPC_STATIC_LIBRARIES) - target_link_libraries(odasrv ${MINIUPNPC_STATIC_LIBRARIES}) +# target_link_libraries(odasrv ${MINIUPNPC_STATIC_LIBRARIES}) else() - target_link_libraries(odasrv ${MINIUPNPC_LIBRARIES}) +# target_link_libraries(odasrv ${MINIUPNPC_LIBRARIES}) endif() endif()