git: 807a6e8588a7 - main - math/sympol: Fix more bogus directories in #includes in installed headers
Yuri Victorovich
yuri at FreeBSD.org
Sat May 22 21:30:23 UTC 2021
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=807a6e8588a77fd9384f59f23e3aaf448bd176f9
commit 807a6e8588a77fd9384f59f23e3aaf448bd176f9
Author: Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-05-22 21:28:49 +0000
Commit: Yuri Victorovich <yuri at 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 at 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 at 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
More information about the dev-commits-ports-all
mailing list