View | Details | Raw Unified | Return to bug 234216 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +7 lines)
Lines 9-15 Link Here
9
9
10
LICENSE=	GPLv2
10
LICENSE=	GPLv2
11
11
12
USES=		gmake
12
USES=		compiler:c++11-lang gmake
13
13
14
USE_GITHUB=	yes
14
USE_GITHUB=	yes
15
GH_ACCOUNT=	dotse
15
GH_ACCOUNT=	dotse
Lines 26-31 Link Here
26
GNUTLS_LIB_DEPENDS=	libgnutls.so:security/gnutls
26
GNUTLS_LIB_DEPENDS=	libgnutls.so:security/gnutls
27
GNUTLS_MAKE_ARGS=	GNUTLS=1
27
GNUTLS_MAKE_ARGS=	GNUTLS=1
28
28
29
post-patch:
30
.if exists(/usr/lib/libstdc++.so)
31
	${REINPLACE_CMD} -e 's/CXX = c++/CXX ?= c++/g' \
32
		${WRKSRC}/src/framework/mk.inc
33
.endif
34
29
do-install:
35
do-install:
30
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/cli ${STAGEDIR}/${PREFIX}/bin/bbk_cli
36
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/cli ${STAGEDIR}/${PREFIX}/bin/bbk_cli
31
	${LN} -sf bbk_cli ${STAGEDIR}/${PREFIX}/bin/bredbandskollen
37
	${LN} -sf bbk_cli ${STAGEDIR}/${PREFIX}/bin/bredbandskollen
(-)files/patch-src_framework_engine.h (+12 lines)
Line 0 Link Here
1
--- src/framework/engine.h.orig	2018-12-20 14:37:12 UTC
2
+++ src/framework/engine.h
3
@@ -10,6 +10,9 @@
4
 #include <map>
5
 #include <vector>
6
 #include <string>
7
+#ifdef __FreeBSD__
8
+#include <sys/select.h>
9
+#endif
10
 
11
 #include "logger.h"
12
 
(-)files/patch-src_framework_socketreceiver.h (+13 lines)
Line 0 Link Here
1
--- src/framework/socketreceiver.h.orig	2018-12-20 14:40:17 UTC
2
+++ src/framework/socketreceiver.h
3
@@ -5,6 +5,10 @@
4
 
5
 #include <sys/socket.h>
6
 #include "serversocket.h"
7
+#ifdef __FreeBSD__
8
+#include <sys/types.h>
9
+#endif
10
+
11
 class SocketConnection;
12
 
13
 class SocketReceiver : public ServerSocket {
(-)pkg-descr (-1 / +1 lines)
Lines 4-8 Link Here
4
4
5
This is a command line tool that can be used instead of the web application.
5
This is a command line tool that can be used instead of the web application.
6
6
7
WWW: https://https://github.com/dotse/bbk
7
WWW: https://github.com/dotse/bbk
8
     http://bredbandskollen.se
8
     http://bredbandskollen.se

Return to bug 234216