Index: head/net/bredbandskollen/Makefile =================================================================== --- head/net/bredbandskollen/Makefile (revision 502933) +++ head/net/bredbandskollen/Makefile (revision 502934) @@ -1,33 +1,37 @@ # $FreeBSD$ PORTNAME= bredbandskollen PORTVERSION= 0.20181210 CATEGORIES= net MAINTAINER= zeising@FreeBSD.org COMMENT= Command line tool to check internet connection speed LICENSE= GPLv2 -USES= gmake +USES= compiler:c++11-lang gmake USE_GITHUB= yes GH_ACCOUNT= dotse GH_PROJECT= bbk GH_TAGNAME= 39b47a1 BUILD_WRKSRC= ${WRKSRC}/src/cli PLIST_FILES= bin/bbk_cli \ bin/bredbandskollen OPTIONS_DEFINE= GNUTLS GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_MAKE_ARGS= GNUTLS=1 + +post-patch: + ${REINPLACE_CMD} -e 's/CXX = c++/CXX ?= c++/g' \ + ${WRKSRC}/src/framework/mk.inc do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/cli ${STAGEDIR}/${PREFIX}/bin/bbk_cli ${LN} -sf bbk_cli ${STAGEDIR}/${PREFIX}/bin/bredbandskollen .include Index: head/net/bredbandskollen/files/patch-src_framework_engine.h =================================================================== --- head/net/bredbandskollen/files/patch-src_framework_engine.h (nonexistent) +++ head/net/bredbandskollen/files/patch-src_framework_engine.h (revision 502934) @@ -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: head/net/bredbandskollen/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: head/net/bredbandskollen/files/patch-src_framework_socketreceiver.h =================================================================== --- head/net/bredbandskollen/files/patch-src_framework_socketreceiver.h (nonexistent) +++ head/net/bredbandskollen/files/patch-src_framework_socketreceiver.h (revision 502934) @@ -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: head/net/bredbandskollen/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: head/net/bredbandskollen/pkg-descr =================================================================== --- head/net/bredbandskollen/pkg-descr (revision 502933) +++ head/net/bredbandskollen/pkg-descr (revision 502934) @@ -1,8 +1,8 @@ Bredbandskollen (broad band check in English) is a tool to test the speed of internet connections. The tool is made available from the Internet Foundation In Sweden. 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