aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2009-09-22 05:01:57 +0800
committerrene <rene@FreeBSD.org>2009-09-22 05:01:57 +0800
commitb1445a356a4262d280b8c127c323d09aa586bb33 (patch)
treecbab5f586032b08180dd504986eb26d1c95102a2 /astro
parent85accc0fc7578faff5f14f8ad74688d943edc901 (diff)
downloadfreebsd-ports-gnome-b1445a356a4262d280b8c127c323d09aa586bb33.tar.gz
freebsd-ports-gnome-b1445a356a4262d280b8c127c323d09aa586bb33.tar.zst
freebsd-ports-gnome-b1445a356a4262d280b8c127c323d09aa586bb33.zip
Unbreak on sparc64 by using "-mtune=native" only on i386 and amd64
Approved by: kwm Obtained from: kwm Feature safe: yes
Diffstat (limited to 'astro')
-rw-r--r--astro/boinc-setiathome-enhanced/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/astro/boinc-setiathome-enhanced/Makefile b/astro/boinc-setiathome-enhanced/Makefile
index 89caebdfde2b..4675647e6e4e 100644
--- a/astro/boinc-setiathome-enhanced/Makefile
+++ b/astro/boinc-setiathome-enhanced/Makefile
@@ -53,10 +53,7 @@ CONFIGURE_ARGS+= --disable-graphics
PLIST_SUB+= X11="@comment "
.endif
-.if ${OSVERSION} >= 700042
-.if ${ARCH} == "sparc64"
-BROKEN= Does not compile with GCC 4.2
-.endif
+.if ${OSVERSION} >= 700042 && (${ARCH} == i386 || ${ARCH} == amd64)
CFLAGS+= -mtune=native
.endif