1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/security/doscan/Makefile
Tobias Kortkamp fd38697192 security/doscan: Fix build with Clang 6
src/event_queue.cc:161:43: error: invalid operands to binary expression
      ('basic_ostream<char, std::__1::char_traits<char> >' and 'std::__1::ostream'
      (aka 'basic_ostream<char>'))
    std::cerr << "No handlers installed." << std::cerr;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~

http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/doscan-0.3.3_1.log

- Make sure the build respects CXXFLAGS
2018-08-28 12:43:27 +00:00

39 lines
797 B
Makefile

# Created by: Janos.Mohacsi@bsd.hu
# $FreeBSD$
PORTNAME= doscan
PORTVERSION= 0.3.3
PORTREVISION= 1
CATEGORIES= security net
MASTER_SITES= http://static.enyo.de/fw/releases/doscan/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to quickly scan your network for machines listening on a TCP port
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpcre.so:devel/pcre
GNU_CONFIGURE= yes
USES= gmake
USE_CXXSTD= gnu++98
PORTDOCS= README
PLIST_FILES= bin/doscan man/man1/doscan.1.gz
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|ony o|on yo|' \
${WRKSRC}/doc/doscan.1
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>