aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-08-09 01:49:55 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-08-09 01:49:55 +0000
commit2070f30547394c8eb3852bef673eea7a1a42c1cd (patch)
tree533f7d7a3dfda58f8f76250a72dabeae67fa5dfb /math
parentf82694aa19d28f23fa88199cf284a239ba2d3477 (diff)
Notes
Diffstat (limited to 'math')
-rw-r--r--math/xblas/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/xblas/Makefile b/math/xblas/Makefile
index df61cf4fbf70..9f5127bfe00f 100644
--- a/math/xblas/Makefile
+++ b/math/xblas/Makefile
@@ -13,7 +13,6 @@ COMMENT= Extra Precise Basic Linear Algebra Subroutines (BLAS)
LICENSE= BSD
USE_LDCONFIG= yes
-MAKE_JOBS_UNSAFE= yes
CFLAGS+= ${MANGLING}
HDIR= include/xblas
@@ -66,6 +65,9 @@ post-patch:
@${CP} -af ${WRKSRC} ${WRKSRC}_STATIC
.endif
@${PRINTF} "\nCFLAGS+=\t${PICFLAG}\n" >> ${WRKSRC}/make.inc
+# Fix parallel (-jX) builds
+ @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \
+ -E 's/cd (.+) && (\$$\(MAKE\))/\2 -C \1/'
do-build: build-shared build-static