[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / powerdns-recursor

File: [cvs.NetBSD.org] / pkgsrc / net / powerdns-recursor / Makefile (download)

Revision 1.22, Wed May 3 08:38:44 2017 UTC (18 months, 2 weeks ago) by jperkin
Branch: MAIN
Changes since 1.21: +3 -3 lines

Convert CXXFLAGS setting C++ standard to USE_LANGUAGES.

# $NetBSD: Makefile,v 1.22 2017/05/03 08:38:44 jperkin Exp $
#

DISTNAME=		pdns-recursor-4.0.4
PKGREVISION=		1
CATEGORIES=		net
MASTER_SITES=		http://downloads.powerdns.com/releases/
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.powerdns.com/
COMMENT=		PowerDNS resolver/recursing nameserver
LICENSE=		gnu-gpl-v2

GNU_CONFIGURE=		yes
USE_LANGUAGES=		c c++11
USE_TOOLS+=		gmake pkg-config

RCD_SCRIPTS+=		pdns_recursor

EGDIR=			${PREFIX}/share/examples/pdns-recursor

PTHREAD_AUTO_VARS=	yes

INSTALL_MAKE_FLAGS+=	sysconfdir=${EGDIR}

CONF_FILES+=		${EGDIR}/recursor.conf-dist \
			${PKG_SYSCONFDIR}/recursor.conf

.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CXXFLAGS+=	-Wno-c++11-narrowing
.endif

.include "options.mk"

.include "../../devel/boost-headers/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"