summaryrefslogtreecommitdiff
path: root/net/libtrace/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-12-27 17:06:11 +0000
committerjoerg <joerg@pkgsrc.org>2007-12-27 17:06:11 +0000
commite84de7d5ac9e973b5e65a221394297cd7fb681cb (patch)
treec68b101f2ed14e43bd901721b93530760d20cc41 /net/libtrace/Makefile
parent5723ca178bd8c189626c0256e1ce201b6e6cba8f (diff)
downloadpkgsrc-e84de7d5ac9e973b5e65a221394297cd7fb681cb.tar.gz
Disable BPF frontend and force vsnprintf to allow build on DragonFly.
Diffstat (limited to 'net/libtrace/Makefile')
-rw-r--r--net/libtrace/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/libtrace/Makefile b/net/libtrace/Makefile
index 8be1de4bf71..621b288f258 100644
--- a/net/libtrace/Makefile
+++ b/net/libtrace/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/03/24 14:10:31 markd Exp $
+# $NetBSD: Makefile,v 1.2 2007/12/27 17:06:11 joerg Exp $
#
DISTNAME= libtrace-3.0.0
@@ -17,6 +17,13 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= libtrace_doxygen='false'
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "DragonFly"
+CONFIGURE_ENV+= ac_cv_have_decl_BIOCSETIF=no
+CFLAGS+= -DHAVE_VSNPRINTF
+.endif
+
.include "../../devel/zlib/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"