Date: Sat, 22 May 2021 21:30:23 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 807a6e8588a7 - main - math/sympol: Fix more bogus directories in #includes in installed headers Message-ID: <202105222130.14MLUN5F055979@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=807a6e8588a77fd9384f59f23e3aaf448bd176f9 commit 807a6e8588a77fd9384f59f23e3aaf448bd176f9 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2021-05-22 21:28:49 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2021-05-22 21:30:20 +0000 math/sympol: Fix more bogus directories in #includes in installed headers Reported by: Philipp-Joachim Ost <philipp@philippost.de> (via e-mail) --- math/sympol/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/math/sympol/Makefile b/math/sympol/Makefile index 37a30fd167d4..04bf6cbc5743 100644 --- a/math/sympol/Makefile +++ b/math/sympol/Makefile @@ -1,7 +1,7 @@ PORTNAME= sympol DISTVERSIONPREFIX= v DISTVERSION= 0.1.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org @@ -29,8 +29,10 @@ CMAKE_TESTING_ON= BUILD_TESTS # test 'perltest' fails with 'output format mismat post-install: @${RM} ${STAGEDIR}${PREFIX}/lib/libcddgmp.so - # remove subdirectory of logger.h, see https://github.com/tremlin/SymPol/issues/2 + # fix incorrect subdirectories in #include statements, see https://github.com/tremlin/SymPol/issues/2 @${REINPLACE_CMD} -i '' -e 's|#include "yal/|#include "|' ${STAGEDIR}${PREFIX}/include/sympol/*.h + @${REINPLACE_CMD} -i '' -e 's|#include "\.\./matrix/|#include "|' ${STAGEDIR}${PREFIX}/include/sympol/*.h + @${REINPLACE_CMD} -i '' -e 's|#include "\.\./|#include "|' ${STAGEDIR}${PREFIX}/include/sympol/*.h pre-test: # correct the build directory path @${REINPLACE_CMD} -e "s|'\\.\\./build/release'|'${BUILD_WRKSRC}'|" ${WRKSRC}/contrib/test-sympol.pl
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105222130.14MLUN5F055979>