1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/dns/packetq/Makefile
Jan Beich e47e791f27 dns/packetq: require C++11 toolchain (on powerpc*, mips*, sparc*)
cc1plus: error: unrecognized command line option "-std=c++0x"

In file included from dns.cpp:22:
In file included from ./dns.h:31:
In file included from ./packet_handler.h:33:
In file included from ./sql.h:43:
./variant.h:297:34: error: expected '(' for function-style cast or type construction
            return std::hash<bool>()(m_val.m_bool);
                             ~~~~^
./variant.h:297:20: error: no member named 'hash' in namespace 'std'; did you mean simply 'hash'?
            return std::hash<bool>()(m_val.m_bool);
                   ^~~~~~~~~
                   hash
./variant.h:293:17: note: 'hash' declared here
    std::size_t hash() const
                ^
./variant.h:297:36: error: expected expression
            return std::hash<bool>()(m_val.m_bool);
                                   ^
./variant.h:299:33: error: expected '(' for function-style cast or type construction
            return std::hash<int>()(m_val.m_int);
                             ~~~^
./variant.h:299:20: error: no member named 'hash' in namespace 'std'; did you mean simply 'hash'?
            return std::hash<int>()(m_val.m_int);
                   ^~~~~~~~~
                   hash
./variant.h:293:17: note: 'hash' declared here
    std::size_t hash() const
                ^
./variant.h:299:35: error: expected expression
            return std::hash<int>()(m_val.m_int);
                                  ^
./variant.h:301:35: error: expected '(' for function-style cast or type construction
            return std::hash<float>()(m_val.m_float);
                             ~~~~~^
./variant.h:301:20: error: no member named 'hash' in namespace 'std'; did you mean simply 'hash'?
            return std::hash<float>()(m_val.m_float);
                   ^~~~~~~~~
                   hash
./variant.h:293:17: note: 'hash' declared here
    std::size_t hash() const
                ^
./variant.h:301:37: error: expected expression
            return std::hash<float>()(m_val.m_float);
                                    ^
In file included from dns.cpp:22:
In file included from ./dns.h:31:
In file included from ./packet_handler.h:33:
./sql.h:1766:8: error: explicit specialization of non-template struct 'hash'
struct hash<std::vector<packetq::Variant> > {
       ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 errors generated.

Reported by:	pkg-fallout (mips64)
2017-12-12 02:30:49 +00:00

28 lines
518 B
Makefile

# Created by: Leo Vandewoestijne <freebsd@dns-lab.com>
# $FreeBSD$
PORTNAME= packetq
PORTVERSION= 1.4.0
DISTVERSIONPREFIX= v
CATEGORIES= dns
MAINTAINER= freebsd@dns-lab.com
COMMENT= Basic SQL-frontend to PCAP-files
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
GH_ACCOUNT= DNS-OARC
GH_PROJECT= PacketQ
USE_GITHUB= yes
USES= autoreconf compiler:c++11-lib
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/packetq
PORTDOCS= CHANGES COPYING FAQ.md FIELDS.md FUNCTIONS.md README.md
.include <bsd.port.mk>