pkgsrc/net/snort-mysql/Makefile
adrianp 55341ffa93 Add debug option
Suggested by Jason Miller in private email
2006-04-18 22:39:32 +00:00

30 lines
747 B
Makefile

# $NetBSD: Makefile,v 1.17 2006/04/18 22:39:32 adrianp Exp $
.include "../../net/snort/Makefile.common"
PKGNAME= ${DISTNAME:S/-/-mysql-/}
COMMENT= Network Intrusion Detection System (with MySQL support)
CONFLICTS+= snort-[0-9]*
CONFLICTS+= snort-pgsql-[0-9]*
PKGDIR= ${.CURDIR}/../../net/snort
FILESDIR= ${PKGDIR}/files
PATCHDIR= ${PKGDIR}/patches
DISTINFO_FILE= ${PKGDIR}/distinfo
CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client}
LDFLAGS+= ${BUILDLINK_LDFLAGS.mysql-client}
PKG_OPTIONS_VAR= PKG_OPTIONS.snort-mysql
PKG_SUPPORTED_OPTIONS= debug
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug
.endif
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"