aboutsummaryrefslogtreecommitdiff
path: root/net/spoofer
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-06-06 15:43:55 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-06-06 15:43:55 +0000
commit41c4df1acb201cb8abc7d2851b8b6626b59f0574 (patch)
tree840fa4729c9fbde292d9fb106d1f0637f8f434a4 /net/spoofer
parent7f304f06332ccf9ffd505d1e3eec2e9723210b60 (diff)
downloadports-41c4df1acb201cb8abc7d2851b8b6626b59f0574.tar.gz
ports-41c4df1acb201cb8abc7d2851b8b6626b59f0574.zip
Notes
Diffstat (limited to 'net/spoofer')
-rw-r--r--net/spoofer/Makefile1
-rw-r--r--net/spoofer/files/patch-manager_Makefile.in11
-rw-r--r--net/spoofer/files/patch-manager_common_common.h10
3 files changed, 22 insertions, 0 deletions
diff --git a/net/spoofer/Makefile b/net/spoofer/Makefile
index f6e3ce9144b5..74399ae68ab5 100644
--- a/net/spoofer/Makefile
+++ b/net/spoofer/Makefile
@@ -16,6 +16,7 @@ LIB_DEPENDS= libprotobuf-lite.so:devel/protobuf
PORTDOCS= README
+USES= compiler:c++11-lib
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-development
diff --git a/net/spoofer/files/patch-manager_Makefile.in b/net/spoofer/files/patch-manager_Makefile.in
new file mode 100644
index 000000000000..150f12258fc9
--- /dev/null
+++ b/net/spoofer/files/patch-manager_Makefile.in
@@ -0,0 +1,11 @@
+--- manager/Makefile.in.orig 2016-05-25 00:53:19 UTC
++++ manager/Makefile.in
+@@ -421,7 +421,7 @@ uninstall: manager.mak
+ $@
+
+ manager.mak: $(srcdir)/manager.pro
+- $(QMAKE) $<
++ $(QMAKE) QMAKE_CC="${CC}" QMAKE_CXX="${CXX}" QMAKE_LINK_C="${CC}" QMAKE_LINK_C_SHLIB="${CC}" QMAKE_LINK="${CXX}" QMAKE_LINK_SHLIB="${CXX}" QMAKE_CFLAGS="${CFLAGS}" QMAKE_CXXFLAGS="${CXXFLAGS}" QMAKE_LFLAGS="${LDFLAGS}" QMAKE_LIBS="${LIBS}" QMAKE_CFLAGS_DEBUG="" QMAKE_CFLAGS_RELEASE="" QMAKE_CXXFLAGS_DEBUG="" QMAKE_CXXFLAGS_RELEASE="" $<
+
+ dist-hook:
+ @unfound=""; \
diff --git a/net/spoofer/files/patch-manager_common_common.h b/net/spoofer/files/patch-manager_common_common.h
new file mode 100644
index 000000000000..4e9cff037227
--- /dev/null
+++ b/net/spoofer/files/patch-manager_common_common.h
@@ -0,0 +1,10 @@
+--- manager/common/common.h.orig 2016-05-18 18:09:39 UTC
++++ manager/common/common.h
+@@ -23,6 +23,7 @@
+
+ #include "port.h"
+ #include <typeinfo>
++#include <ctime>
+
+ #define QT_NO_CAST_FROM_ASCII
+ #include <QString>