summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/snort-mysql/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/net/snort-mysql/Makefile b/net/snort-mysql/Makefile
index 8e7dff9f680..9ed27b7e1d3 100644
--- a/net/snort-mysql/Makefile
+++ b/net/snort-mysql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/07/12 16:55:40 agc Exp $
+# $NetBSD: Makefile,v 1.2 2002/10/10 12:23:38 wiz Exp $
#
.include "../../net/snort/Makefile.common"
@@ -10,7 +10,9 @@ COMMENT= Libpcap-based packet sniffer/logger using a MySQL database
CONFLICTS+= snort-[0-9]*
CONFLICTS+= snort-pgsql-[0-9]*
-CONFIGURE_ARGS+=--with-mysql=${BUILDLINK_DIR}
+CONFIGURE_ARGS+=--with-mysql=${BUILDLINK_PREFIX.mysql-client}
+
+USE_BUILDLINK2= YES
PKGDIR= ${.CURDIR}/../../net/snort
PATCHDIR= ${PKGDIR}/patches
@@ -19,9 +21,9 @@ DISTINFO_FILE= ${PKGDIR}/distinfo
.include "../../mk/bsd.prefs.mk"
.if ${_USE_RPATH} == "yes"
-LDFLAGS+= -Wl,-R${LOCALBASE}/lib/mysql
+LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.mysql-client}/lib/mysql
.endif
-.include "../../databases/mysql-client/buildlink.mk"
-.include "../../net/libpcap/buildlink.mk"
+.include "../../databases/mysql-client/buildlink2.mk"
+.include "../../net/libpcap/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"