diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-03-28 05:38:01 +0800 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-03-28 05:38:01 +0800 |
commit | 16beca6eb432ab9ec121780441f5ac43cb1d8695 (patch) | |
tree | 5651d55d98e5f57d6a72b39362aece2dbd9e2dbb | |
parent | 23bd37a8794f5ba5c95aff2050ecf3daed5abe5d (diff) | |
download | freebsd-ports-16beca6eb432ab9ec121780441f5ac43cb1d8695.tar.gz freebsd-ports-16beca6eb432ab9ec121780441f5ac43cb1d8695.tar.zst freebsd-ports-16beca6eb432ab9ec121780441f5ac43cb1d8695.zip |
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
Notes
Notes:
svn path=/head/; revision=465762
-rw-r--r-- | math/sundials/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/math/sundials/Makefile b/math/sundials/Makefile index 3b0e977f55ab..5989ce703b02 100644 --- a/math/sundials/Makefile +++ b/math/sundials/Makefile @@ -68,6 +68,9 @@ SUPERLUMT_PREVENTS= LAPACK # LAPACK requires SUNDIALS_INDEX_TYPE=int32, and SUP 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 |