svn commit: r469513 - head/math/suitesparse
Yuri Victorovich
yuri at FreeBSD.org
Thu May 10 07:20:09 UTC 2018
Author: yuri
Date: Thu May 10 07:20:08 2018
New Revision: 469513
URL: https://svnweb.freebsd.org/changeset/ports/469513
Log:
math/suitesparse: Unbreak with the option ATLAS=yes
It was an incomplete makefile patching beginning from 5.2.0 update.
PR: 210579 227791
Approved by: portmgr (port compliance, infrastructure)
Modified:
head/math/suitesparse/Makefile
Modified: head/math/suitesparse/Makefile
==============================================================================
--- head/math/suitesparse/Makefile Thu May 10 07:13:48 2018 (r469512)
+++ head/math/suitesparse/Makefile Thu May 10 07:20:08 2018 (r469513)
@@ -48,9 +48,9 @@ MAKE_ARGS+= MY_METIS_LIB="-L${LOCALBASE}/lib -lmetis $
post-patch:
@${RM} -r ${WRKSRC}/metis-5.1.0
@${FIND} -X ${WRKSRC} -type f -name 'Makefile' -or -name '*.mk' | ${XARGS} \
- ${REINPLACE_CMD} -i '' \
+ ${REINPLACE_CMD} \
-e '\|^AR =|s|ar|${AR}|' \
- -e '\|^BLAS =|s|=.*|= ${LDFLAGS} ${BLASLIB}|' \
+ -e '\|^ *BLAS =|s|=.*|= ${LDFLAGS} ${BLASLIB}|' \
-e '\|^CC =|d' \
-e '\|^CFLAGS =|{s|-O[1-9]\{0,1\}||g;s|=|= ${CFLAGS} $${PICFLAG} |;}' \
-e '\|^CHOLMOD_CONFIG =|s|=.*|= ${CHOLMOD_CONFIG}|' \
@@ -67,7 +67,7 @@ post-patch:
-e 's|/usr/local|${LOCALBASE}|g'
@${CP} -r ${WRKSRC} ${WRKSRC_SHARED}
@${FIND} -X ${WRKSRC_SHARED} -type f -name 'Makefile' -or -name '*.mk' | ${XARGS} \
- ${REINPLACE_CMD} -e 's|$$(CFLAGS)|$$(CFLAGS) $$(PICFLAG)|g'
+ ${REINPLACE_CMD} -e 's|$$(CFLAGS)|$$(CFLAGS) $$(PICFLAG)|g'
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} PICFLAG= \
More information about the svn-ports-all
mailing list