pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/dsniff-nox11 On Darwin define BIND_8_COMPAT t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fa6a9b837b0e
branches:  trunk
changeset: 645310:fa6a9b837b0e
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Mon Jan 26 16:05:04 2015 +0000

description:
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:

 security/dsniff-nox11/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 0b6fb3c71f44 -r fa6a9b837b0e security/dsniff-nox11/Makefile
--- a/security/dsniff-nox11/Makefile    Mon Jan 26 15:52:18 2015 +0000
+++ b/security/dsniff-nox11/Makefile    Mon Jan 26 16:05:04 2015 +0000
@@ -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 @@
 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 \



Home | Main Index | Thread Index | Old Index