From b76ace6538b0d3c044526a1cc5a589224e3b11e9 Mon Sep 17 00:00:00 2001 From: sevan Date: Mon, 26 Jan 2015 16:05:04 +0000 Subject: On Darwin define BIND_8_COMPAT to resolve build issue as dsniff utilises the BIND8 API, not the v9 API. Closes PR pkg/39062 Reviewed by wiz@ --- security/dsniff-nox11/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'security') diff --git a/security/dsniff-nox11/Makefile b/security/dsniff-nox11/Makefile index ceeb1190247..6c8412cf4e3 100644 --- a/security/dsniff-nox11/Makefile +++ b/security/dsniff-nox11/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2013/10/06 08:28:37 obache Exp $ +# $NetBSD: Makefile,v 1.13 2015/01/26 16:05:04 sevan Exp $ .include "../../security/dsniff/Makefile.common" @@ -11,6 +11,10 @@ CONFIGURE_ARGS+= --without-x INSTALLATION_DIRS+= ${PKGMANDIR}/man8 INSTALL_MAKE_FLAGS+= install_prefix=${DESTDIR} +.if ${OPSYS} == "Darwin" +CFLAGS+= -DBIND_8_COMPAT +.endif + post-configure: ( cd ${WRKSRC} \ && grep '#define.*HAVE_SYS_QUEUE_H' config.h >/dev/null \ -- cgit v1.2.3