git: e97d71985415 - main - math/saga: unbreak build after print/libharu update to 2.4.3 (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Oct 2022 21:11:16 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e97d71985415339aac0d8d523b58aff3959f547f
commit e97d71985415339aac0d8d523b58aff3959f547f
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-10-14 21:05:30 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-10-14 21:10:08 +0000
math/saga: unbreak build after print/libharu update to 2.4.3 (+)
Drop libharu-2.3 compat hack with ${REINPLACE_CMD} from Makefile
Bump PORTREVISION
---
math/saga/Makefile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/math/saga/Makefile b/math/saga/Makefile
index 5656fdf4358f..a6786d759d2a 100644
--- a/math/saga/Makefile
+++ b/math/saga/Makefile
@@ -1,5 +1,6 @@
PORTNAME= saga
PORTVERSION= 8.3.1
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]\.[[:digit:]]*$//}/SAGA%20-%20${PORTVERSION}
@@ -78,9 +79,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|typedef unsigned long DWORD;|typedef unsigned int DWORD;|' \
${WRKSRC}/src/saga_core/saga_api/api_core.h
.endif
- # print/libharu installs v2.3.0, with '2.4.0dev' in include/hpdf_version.h
- @${REINPLACE_CMD} -e 's|HPDF_MINOR_VERSION < 4|HPDF_MINOR_VERSION < 5|' \
- ${WRKSRC}/src/tools/docs/docs_pdf/doc_pdf.cpp
+# # print/libharu installs v2.3.0, with '2.4.0dev' in include/hpdf_version.h
+# @${REINPLACE_CMD} -e 's|HPDF_MINOR_VERSION < 4|HPDF_MINOR_VERSION < 5|' \
+# ${WRKSRC}/src/tools/docs/docs_pdf/doc_pdf.cpp
@${REINPLACE_CMD} -e 's|PORTVERSION|${PORTVERSION}|' \
${WRKSRC}/src/saga_core/saga_gui/dlg_about.cpp
@${REINPLACE_CMD} -e 's|-lgomp|-lomp|' \