Specify the PKGDIR properly, and use it where appropriate.

Add a missing CONFLICT on the new snort-mysql package.
This commit is contained in:
agc 2002-07-17 13:06:04 +00:00
parent e3d63a0de9
commit a94f67ce57

View file

@ -1,18 +1,20 @@
# $NetBSD: Makefile,v 1.3 2002/07/15 14:41:51 wiz Exp $
# $NetBSD: Makefile,v 1.4 2002/07/17 13:06:04 agc Exp $
#
.include "../snort/Makefile.common"
.include "../../net/snort/Makefile.common"
PKGNAME= ${DISTNAME:S/-/-pgsql-/}
COMMENT= Libpcap-based packet sniffer/logger using a PostgreSQL database
CONFLICTS+= snort-[0-9]*
CONFLICTS+= snort-mysql-[0-9]*
CONFIGURE_ARGS+=--with-postgresql=${BUILDLINK_DIR}
PATCHDIR= ${.CURDIR}/../snort/patches
DISTINFO_FILE= ${.CURDIR}/../snort/distinfo
PKGDIR= ${.CURDIR}/../../net/snort
PATCHDIR= ${PKGDIR}/patches
DISTINFO_FILE= ${PKGDIR}/distinfo
.include "../../databases/postgresql-lib/buildlink.mk"
.include "../../net/libpcap/buildlink.mk"