aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-06-05 14:55:10 +0800
committermiwi <miwi@FreeBSD.org>2007-06-05 14:55:10 +0800
commit4a48dc80a385a5de24613682835088e01050a158 (patch)
tree1f464328d09391193a698fbeb8effa5acdd15a44
parentecce2aa6bdf9eb628a139b52d4590b41a5a97fda (diff)
downloadfreebsd-ports-gnome-4a48dc80a385a5de24613682835088e01050a158.tar.gz
freebsd-ports-gnome-4a48dc80a385a5de24613682835088e01050a158.tar.zst
freebsd-ports-gnome-4a48dc80a385a5de24613682835088e01050a158.zip
- Fix build on amd64
Submitted by: pointhat via kris maintainer
-rw-r--r--sysutils/freeipmi/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/freeipmi/Makefile b/sysutils/freeipmi/Makefile
index 80ab82918175..ae06a065447a 100644
--- a/sysutils/freeipmi/Makefile
+++ b/sysutils/freeipmi/Makefile
@@ -53,8 +53,8 @@ BROKEN= missing getpw*_r functions in this FreeBSD release
# ports. Note: there is a bug in FreeBSD 5 before 5.5-RELEASE that
# causes SIGBUS to the process sometimes when i386_set_ioperm is used
# (PR 84842).
-.if defined(WITH_IOPERM) || \
- ${OSVERSION} < 500000 || ${OSVERSION} >= 505000
+.if ${ARCH} == "i386" && (defined(WITH_IOPERM) || \
+ ${OSVERSION} < 500000 || ${OSVERSION} >= 505000)
CPPFLAGS+= -DUSE_IOPERM
.endif