Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2018 21:38:01 +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: r465762 - head/math/sundials
Message-ID:  <201803272138.w2RLc1JN089975@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Mar 27 21:38:01 2018
New Revision: 465762
URL: https://svnweb.freebsd.org/changeset/ports/465762

Log:
  math/sundials: Unbreak on 12
  
  Macro (ESYM) can't be aligned with a string in C++.
  The upstream is going to fix this in the next release.
  
  Reported by:	fallout

Modified:
  head/math/sundials/Makefile

Modified: head/math/sundials/Makefile
==============================================================================
--- head/math/sundials/Makefile	Tue Mar 27 21:36:23 2018	(r465761)
+++ head/math/sundials/Makefile	Tue Mar 27 21:38:01 2018	(r465762)
@@ -68,6 +68,9 @@ SUPERLUMT_PREVENTS=	LAPACK  # LAPACK requires SUNDIALS
 
 PORTEXAMPLES=	*
 
+post-patch:
+	@${FIND} ${WRKSRC}/examples -name "*.c" -o -name "*.cpp" | ${XARGS} ${REINPLACE_CMD} -e 's|"ESYM"|" ESYM "|g'
+
 post-install:
 	@${RM} ${STAGEDIR}${PREFIX}/LICENSE
 



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