Index: math/saga/Makefile =================================================================== --- math/saga/Makefile +++ 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,7 +90,7 @@ ${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' \ + @${REINPLACE_CMD} -e 's|pkg-config opencv4|pkg-config opencv|g' \ ${WRKSRC}/src/tools/imagery/imagery_opencv/Makefile.am post-patch: @@ -102,8 +103,6 @@ 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: