summaryrefslogtreecommitdiff
path: root/net/powerdns-pgsql/Makefile
blob: 9b3f8e683483ec40e89cb08747ef67fa300f17e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $NetBSD: Makefile,v 1.5 2008/03/13 17:38:48 joerg Exp $

.include "../../net/powerdns/Makefile.backend"

PKGNAME=		${DISTNAME:S/pdns/powerdns-pgsql/}
PKGREVISION=		2
COMMENT=		PostgreSQL backend module for PowerDNS

CONFIGURE_ARGS+=	--with-dynmodules="gpgsql"
CONFIGURE_ARGS+=	--with-pgsql-lib=${BUILDLINK_PREFIX.${PGSQL_TYPE}}/lib
CONFIGURE_ARGS+=	--with-pgsql-includes=${BUILDLINK_PREFIX.${PGSQL_TYPE}}/include

.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"