summaryrefslogtreecommitdiffstats
path: root/math/atlas-devel
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2004-01-26 13:25:02 +0000
committermaho <maho@FreeBSD.org>2004-01-26 13:25:02 +0000
commitd56fa4602b9cdefbfeeefe7fa8d6d21af21dc2ae (patch)
tree5e0b00ab0cb59a40c443a532ce26bd7c0d59c72d /math/atlas-devel
parentc49c78de904704866c390a4fe575543697eed82f (diff)
downloadFreeBSD-ports-d56fa4602b9cdefbfeeefe7fa8d6d21af21dc2ae.zip
FreeBSD-ports-d56fa4602b9cdefbfeeefe7fa8d6d21af21dc2ae.tar.gz
Fix broken on alpha
Submitted by: kris via bento
Diffstat (limited to 'math/atlas-devel')
-rw-r--r--math/atlas-devel/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/math/atlas-devel/Makefile b/math/atlas-devel/Makefile
index 25346a8..47c1980 100644
--- a/math/atlas-devel/Makefile
+++ b/math/atlas-devel/Makefile
@@ -24,6 +24,12 @@ INSTALLS_SHLIB= yes
USE_REINPLACE= yes
PKGNAMESUFFIX= -devel
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 501000 && ${MACHINE_ARCH} == "alpha"
+USE_GCC=3.3
+.endif
+
# only affects for lapack sub project
.if defined(WITH_OPTIMIZED_FLAGS)
FFLAGS+= -pipe -O3 -ffast-math -finline-functions -fstrength-reduce -funroll-loops -fexpensive-optimizations
@@ -32,8 +38,6 @@ FFLAGS+= -mfancy-math-387 -mpreferred-stack-boundary=3 -malign-double
.endif # i386
.endif
-.include <bsd.port.pre.mk>
-
post-patch:
.if !defined(WITH_OPTIMIZED_FLAGS)
@${ECHO_CMD} "You can optimize lapack sub project by setting WITH_OPTIMIZED_FLAGS=yes."
OpenPOWER on IntegriCloud