aboutsummaryrefslogtreecommitdiff
path: root/math/atlas
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2012-01-24 10:47:28 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2012-01-24 10:47:28 +0000
commit38663c8e2cffafe6d70bfb013c137d7b1ab59504 (patch)
tree9310d9eaf0093b7b1ae9299890d7fbae7b91014a /math/atlas
parent422c856b7a36c3029c6226b73edf6656571a601a (diff)
downloadports-38663c8e2cffafe6d70bfb013c137d7b1ab59504.tar.gz
ports-38663c8e2cffafe6d70bfb013c137d7b1ab59504.zip
Notes
Diffstat (limited to 'math/atlas')
-rw-r--r--math/atlas/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/math/atlas/Makefile b/math/atlas/Makefile
index d30c2e76f342..ae7bf18f519a 100644
--- a/math/atlas/Makefile
+++ b/math/atlas/Makefile
@@ -148,10 +148,11 @@ do-build:
@${ECHO_CMD} "Building the LAPACK archives with ${opt} ATLAS flags:"
F77FLAGS="`${MAKE} -f ${WRKSRC}/saved_flags -V F77FLAGS` ${EXTRA_FFLAGS}" ; \
LW=`${MAKE} -C ${PORTSDIR}/math/lapack -V ${${opt:U}_LAPACK_WRKSRC}` ; \
- ${MAKE} -C ${PORTSDIR}/math/lapack FFLAGS="-pipe $${F77FLAGS}" \
+ ${MAKE} -C ${PORTSDIR}/math/lapack WITH_${opt:U}=yes \
clean patch ; \
- ${MAKE} -C $${LW} ${.MAKEFLAGS} ${_MAKE_JOBS} ARCH="${AR}" \
- FFLAGS="-pipe $${F77FLAGS}" lapacklib ; \
+ cd $${LW} ; ${SETENV} ${MAKE_ENV:NFFLAGS=*} EXTRAFLAGS="${${opt:U}_FLAGS}" \
+ FFLAGS="-pipe $${F77FLAGS}" ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} \
+ ARCH="${AR}" lapacklib ; \
TIMEFLAG=`${MAKE} -f ${WRKSRC}/saved_flags -V TIMEFLAG` ; \
${MKDIR} ${WRKSRC}/${opt} ; cd ${WRKSRC}/${opt} ; \
${MV} $${LW}/liblapack.a liblapack_${opt}.a ; \