diff options
author | maho <maho@FreeBSD.org> | 2007-02-14 09:45:28 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2007-02-14 09:45:28 +0800 |
commit | 5f035ac52c8b737e9e7c5c363a89a04b155b2420 (patch) | |
tree | 92a361721041d2b468115ad4daf212f8ef86718c /math/R | |
parent | 10d3b09bc7a8661c3442752b9145df07373ddbe4 (diff) | |
download | freebsd-ports-gnome-5f035ac52c8b737e9e7c5c363a89a04b155b2420.tar.gz freebsd-ports-gnome-5f035ac52c8b737e9e7c5c363a89a04b155b2420.tar.zst freebsd-ports-gnome-5f035ac52c8b737e9e7c5c363a89a04b155b2420.zip |
A workaround to prevent hangs up during the build with
ATLAS. AFAIK, this happens only for i386.
Approved by: maintainer
Diffstat (limited to 'math/R')
-rw-r--r-- | math/R/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/math/R/Makefile b/math/R/Makefile index 791877baa451..99c7ec70a152 100644 --- a/math/R/Makefile +++ b/math/R/Makefile @@ -72,9 +72,15 @@ check-all: build .if defined(WITH_ATLAS) LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas -CONFIGURE_ARGS+=--with-lapack="-lalapack -lcblas" --with-blas="-lf77blas" +CONFIGURE_ARGS+=--with-blas="-lf77blas -latlas" +# A workaround to prevent hangs up during the build. +.if ${ARCH} != "i386" +CONFIGURE_ARGS+=--with-lapack="-lalapack -lcblas" PLIST_SUB+= BLAS="@comment " .else +PLIST_SUB+= BLAS="" +.endif +.else LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas CONFIGURE_ARGS+=--with-blas="-lblas" PLIST_SUB+= BLAS="" |