pkgsrc/net/mydns-mysql/Makefile

19 lines
655 B
Makefile

# $NetBSD: Makefile,v 1.3 2005/11/05 12:24:35 wiz Exp $
PKGNAME= ${DISTNAME:S/-/-mysql-/}
PKGREVISION= 1
COMMENT= MySQL-based DNS server
CONFLICTS= mydns-pgsql-[0-9]*
DISTINFO_FILE= ${.CURDIR}/../../net/mydns-pgsql/distinfo
PATCHDIR= ${.CURDIR}/../../net/mydns-pgsql/patches
FILESDIR= ${.CURDIR}/../../net/mydns-pgsql/files
CONFIGURE_ARGS+= --without-pgsql
CONFIGURE_ARGS+= --with-mysql-lib=${BUILDLINK_PREFIX.mysql-client}/lib/mysql
CONFIGURE_ARGS+= --with-mysql-include=${BUILDLINK_PREFIX.mysql-client}/include/mysql
.include "../../mk/mysql.buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../net/mydns-pgsql/Makefile.common"