Index: Makefile =================================================================== --- Makefile (revision 488281) +++ Makefile (working copy) @@ -9,7 +9,7 @@ LICENSE= GPLv2 -USES= gmake +USES= compiler:c++11-lang gmake USE_GITHUB= yes GH_ACCOUNT= dotse @@ -26,6 +26,12 @@ GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_MAKE_ARGS= GNUTLS=1 +post-patch: +.if exists(/usr/lib/libstdc++.so) + ${REINPLACE_CMD} -e 's/CXX = c++/CXX ?= c++/g' \ + ${WRKSRC}/src/framework/mk.inc +.endif + do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/cli ${STAGEDIR}/${PREFIX}/bin/bbk_cli ${LN} -sf bbk_cli ${STAGEDIR}/${PREFIX}/bin/bredbandskollen Index: files/patch-src_framework_engine.h =================================================================== --- files/patch-src_framework_engine.h (nonexistent) +++ files/patch-src_framework_engine.h (working copy) @@ -0,0 +1,12 @@ +--- src/framework/engine.h.orig 2018-12-20 14:37:12 UTC ++++ src/framework/engine.h +@@ -10,6 +10,9 @@ + #include + #include + #include ++#ifdef __FreeBSD__ ++#include ++#endif + + #include "logger.h" + Property changes on: files/patch-src_framework_engine.h ___________________________________________________________________ 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 Index: files/patch-src_framework_socketreceiver.h =================================================================== --- files/patch-src_framework_socketreceiver.h (nonexistent) +++ files/patch-src_framework_socketreceiver.h (working copy) @@ -0,0 +1,13 @@ +--- src/framework/socketreceiver.h.orig 2018-12-20 14:40:17 UTC ++++ src/framework/socketreceiver.h +@@ -5,6 +5,10 @@ + + #include + #include "serversocket.h" ++#ifdef __FreeBSD__ ++#include ++#endif ++ + class SocketConnection; + + class SocketReceiver : public ServerSocket { Property changes on: files/patch-src_framework_socketreceiver.h ___________________________________________________________________ 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 Index: pkg-descr =================================================================== --- pkg-descr (revision 488281) +++ pkg-descr (working copy) @@ -4,5 +4,5 @@ This is a command line tool that can be used instead of the web application. -WWW: https://https://github.com/dotse/bbk +WWW: https://github.com/dotse/bbk http://bredbandskollen.se