summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorsevan <sevan>2015-01-26 16:05:04 +0000
committersevan <sevan>2015-01-26 16:05:04 +0000
commitb76ace6538b0d3c044526a1cc5a589224e3b11e9 (patch)
treec9c3fecbf3dc872b02cdd8d4d74fa95c10fd7d35 /security
parent3fe55c24b21fc7d60d7d7b1daa0d9053a7ba92ac (diff)
downloadpkgsrc-b76ace6538b0d3c044526a1cc5a589224e3b11e9.tar.gz
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@
Diffstat (limited to 'security')
-rw-r--r--security/dsniff-nox11/Makefile6
1 files changed, 5 insertions, 1 deletions
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 \