Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jun 2016 15:43:55 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r416470 - in head/net/spoofer: . files
Message-ID:  <201606061543.u56Fht8N097302@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Jun  6 15:43:55 2016
New Revision: 416470
URL: https://svnweb.freebsd.org/changeset/ports/416470

Log:
  - Fix build by including header needed for time_t
  - Properly respect compiler and flags when calling child qmake
  - Document c++11 requirement
  
  Approved by:	portmgr blanket

Added:
  head/net/spoofer/files/patch-manager_Makefile.in   (contents, props changed)
  head/net/spoofer/files/patch-manager_common_common.h   (contents, props changed)
Modified:
  head/net/spoofer/Makefile

Modified: head/net/spoofer/Makefile
==============================================================================
--- head/net/spoofer/Makefile	Mon Jun  6 15:25:42 2016	(r416469)
+++ head/net/spoofer/Makefile	Mon Jun  6 15:43:55 2016	(r416470)
@@ -16,6 +16,7 @@ LIB_DEPENDS=	libprotobuf-lite.so:devel/p
 
 PORTDOCS=	README
 
+USES=		compiler:c++11-lib
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--disable-development
 

Added: head/net/spoofer/files/patch-manager_Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/spoofer/files/patch-manager_Makefile.in	Mon Jun  6 15:43:55 2016	(r416470)
@@ -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=""; \

Added: head/net/spoofer/files/patch-manager_common_common.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/spoofer/files/patch-manager_common_common.h	Mon Jun  6 15:43:55 2016	(r416470)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606061543.u56Fht8N097302>