svn commit: r465762 - head/math/sundials
Yuri Victorovich
yuri at FreeBSD.org
Tue Mar 27 21:38:01 UTC 2018
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
More information about the svn-ports-all
mailing list