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:
hans 2011-09-14 17:28:19 +00:00
parent eade2437ff
commit a900291ee8

View file

@ -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"