Index: head/net/bredbandskollen/Makefile =================================================================== --- head/net/bredbandskollen/Makefile (revision 506303) +++ head/net/bredbandskollen/Makefile (revision 506304) @@ -1,33 +1,43 @@ # $FreeBSD$ PORTNAME= bredbandskollen -PORTVERSION= 0.20181210 +PORTVERSION= 0.20190705 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 +GH_TAGNAME= 7b810a6 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 +.include + +.if ${ARCH:Mpowerpc*} +EXTRA_PATCHES= ${FILESDIR}/extra-src_framework_socketreceiver.h +.endif + +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 +.include Index: head/net/bredbandskollen/distinfo =================================================================== --- head/net/bredbandskollen/distinfo (revision 506303) +++ head/net/bredbandskollen/distinfo (revision 506304) @@ -1,3 +1,3 @@ -TIMESTAMP = 1544469797 -SHA256 (dotse-bbk-0.20181210-39b47a1_GH0.tar.gz) = 20e66a5acb806125dca45fc2563bea28b308f90873c85a4b109db6a067b91147 -SIZE (dotse-bbk-0.20181210-39b47a1_GH0.tar.gz) = 3636881 +TIMESTAMP = 1562346059 +SHA256 (dotse-bbk-0.20190705-7b810a6_GH0.tar.gz) = 69e09fb17ce3f4efc586ad5529b2205b060d6183cb3334f57dabb16302ef82dd +SIZE (dotse-bbk-0.20190705-7b810a6_GH0.tar.gz) = 133836 Index: head/net/bredbandskollen/files/extra-src_framework_socketreceiver.h =================================================================== --- head/net/bredbandskollen/files/extra-src_framework_socketreceiver.h (nonexistent) +++ head/net/bredbandskollen/files/extra-src_framework_socketreceiver.h (revision 506304) @@ -0,0 +1,12 @@ +--- src/framework/socketreceiver.h.orig 2019-07-05 19:04:13 UTC ++++ src/framework/socketreceiver.h +@@ -3,6 +3,9 @@ + + #pragma once + ++// work around broken? _ALIGN/_ALIGNBYTES on FreeBSD powerpc ++#include ++ + #include + #include "serversocket.h" + class SocketConnection; Property changes on: head/net/bredbandskollen/files/extra-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/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 506304) @@ -0,0 +1,11 @@ +--- src/framework/engine.h.orig 2019-07-05 17:52:32 UTC ++++ src/framework/engine.h +@@ -6,6 +6,8 @@ + + #pragma once + ++#include ++ + #include + #include + #include 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