aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/fastnetmon
diff options
context:
space:
mode:
authorBabak Farrokhi <farrokhi@FreeBSD.org>2015-09-02 04:22:41 +0000
committerBabak Farrokhi <farrokhi@FreeBSD.org>2015-09-02 04:22:41 +0000
commit34a8e0391e1b39065d8e8011df4c2d16e398d33e (patch)
tree12d188a9546725f6c7a8a57b34bb2d5b14802a9b /net-mgmt/fastnetmon
parent7a95c35f68f297574b0359959c54ea1da2fabee3 (diff)
downloadports-34a8e0391e1b39065d8e8011df4c2d16e398d33e.tar.gz
ports-34a8e0391e1b39065d8e8011df4c2d16e398d33e.zip
- Fix build on i386
Approved by: mat Differential Revision: https://reviews.freebsd.org/D3543
Notes
Notes: svn path=/head/; revision=395820
Diffstat (limited to 'net-mgmt/fastnetmon')
-rw-r--r--net-mgmt/fastnetmon/Makefile2
1 files changed, 2 insertions, 0 deletions
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}|; \