pkgsrc/net/mydns-mysql/Makefile
2014-01-08 10:38:30 +00:00

22 lines
787 B
Makefile

# $NetBSD: Makefile,v 1.20 2014/01/08 10:38:30 jperkin Exp $
PKGNAME= ${DISTNAME:S/-/-mysql-/}
PKGREVISION= 9
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}/${BUILDLINK_LIBDIRS.mysql-client}
CONFIGURE_ARGS+= --with-mysql-include=${BUILDLINK_PREFIX.mysql-client}/${BUILDLINK_INCDIRS.mysql-client}
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}/lib
INFO_FILES= yes
.include "../../mk/mysql.buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../net/mydns-pgsql/Makefile.common"