From 34a8e0391e1b39065d8e8011df4c2d16e398d33e Mon Sep 17 00:00:00 2001 From: Babak Farrokhi Date: Wed, 2 Sep 2015 04:22:41 +0000 Subject: [PATCH] - Fix build on i386 Approved by: mat Differential Revision: https://reviews.freebsd.org/D3543 --- net-mgmt/fastnetmon/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net-mgmt/fastnetmon/Makefile b/net-mgmt/fastnetmon/Makefile index a8bc91365127..039016066b98 100644 --- a/net-mgmt/fastnetmon/Makefile +++ b/net-mgmt/fastnetmon/Makefile @@ -30,6 +30,8 @@ OPTIONS_DEFINE= DOCS PORTDOCS= * +CFLAGS_i386= -march=i586 + post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/src/CMakeLists.txt @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|; \