Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2018 07:20:08 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469513 - head/math/suitesparse
Message-ID:  <201805100720.w4A7K8qh001678@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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= \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805100720.w4A7K8qh001678>