aboutsummaryrefslogtreecommitdiff
path: root/math/saga/Makefile
diff options
context:
space:
mode:
authorRainer Hurling <rhurlin@FreeBSD.org>2020-10-03 09:51:05 +0000
committerRainer Hurling <rhurlin@FreeBSD.org>2020-10-03 09:51:05 +0000
commite7d6d16c15e348db987f1b2bbab275b4a0b998c4 (patch)
treef7aa1e9cafe5257aab8a4f06354d8e7c3563f00a /math/saga/Makefile
parent0f427b1ffc3abbb440bb02505b263eab63401a50 (diff)
downloadports-e7d6d16c15e348db987f1b2bbab275b4a0b998c4.tar.gz
ports-e7d6d16c15e348db987f1b2bbab275b4a0b998c4.zip
math/saga: Configure not finding OpenCV headers
- Let pkg-config find the OpenCV 3.x headers after change in sources[1] - Convert sed replacement to proper patch file - While here, remove unneeded OpenMP post-patch [1] https://sourceforge.net/p/saga-gis/code/ci/1a4b6df792186480953f4fb20474f16b328a9a5c/ Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D26645
Notes
Notes: svn path=/head/; revision=551288
Diffstat (limited to 'math/saga/Makefile')
-rw-r--r--math/saga/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/math/saga/Makefile b/math/saga/Makefile
index f11fc7a27f9b..716963374a0b 100644
--- a/math/saga/Makefile
+++ b/math/saga/Makefile
@@ -3,6 +3,7 @@
PORTNAME= saga
PORTVERSION= 7.7.1
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]\.[[:digit:]]*$//}/SAGA%20-%20${PORTVERSION}
@@ -89,8 +90,6 @@ post-extract:
${WRKSRC}/src/tools/pointcloud/pointcloud_viewer/Makefile.am \
${WRKSRC}/src/tools/statistics/statistics_kriging/Makefile.am \
${WRKSRC}/src/tools/tin/tin_viewer/Makefile.am
- @${REINPLACE_CMD} -e 's|/usr/include/opencv|${LOCALBASE}/include/opencv ${LOCALBASE}/include|g' \
- ${WRKSRC}/src/tools/imagery/imagery_opencv/Makefile.am
post-patch:
.if ${ARCH} == "powerpc"
@@ -102,8 +101,6 @@ post-patch:
post-patch-OPENMP-on:
@${REINPLACE_CMD} -e 's|-lgomp|-lomp|' \
- ${WRKSRC}/configure.ac \
- ${WRKSRC}/configure \
${WRKSRC}/src/accessories/templates/template4saga-tools/my_tool_library/Makefile
post-configure: