pkgsrc/net/powerdns-pgsql/Makefile

15 lines
515 B
Makefile

# $NetBSD: Makefile,v 1.21 2017/03/09 13:44:50 fhajny Exp $
.include "../../net/powerdns/Makefile.backend"
PKGNAME= ${DISTNAME:S/pdns/powerdns-pgsql/}
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
BUILDLINK_TRANSFORM.OpenBSD+= rm:-lcrypt
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"