aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2022-10-14 21:05:30 +0000
committerDima Panov <fluffy@FreeBSD.org>2022-10-14 21:10:08 +0000
commite97d71985415339aac0d8d523b58aff3959f547f (patch)
treeef8f5a90973a20e86d8475b723da1bd0dae04dc3
parentf06e9ca2524b70edfb4ce95cf473fb6cf3f4d34f (diff)
downloadports-e97d71985415339aac0d8d523b58aff3959f547f.tar.gz
ports-e97d71985415339aac0d8d523b58aff3959f547f.zip
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
-rw-r--r--math/saga/Makefile7
1 files 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|' \