Fix build on SunOS by overriding the test for Linux-specific PF_PACKET,
which is misdetected on recent SunOS versions.
This commit is contained in:
parent
eade2437ff
commit
a900291ee8
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.18 2011/02/07 05:45:17 obache Exp $
|
||||
# $NetBSD: Makefile,v 1.19 2011/09/14 17:28:19 hans Exp $
|
||||
#
|
||||
|
||||
DISTNAME= libdnet-1.12
|
||||
|
@ -35,4 +35,9 @@ TEST_TARGET= check
|
|||
CONFIGURE_ARGS+= --without-check
|
||||
.endif
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
.if ${OPSYS} == "SunOS"
|
||||
CONFIGURE_ENV+= ac_cv_dnet_linux_pf_packet=no
|
||||
.endif
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
Loading…
Reference in a new issue