From owner-svn-ports-head@freebsd.org Tue Jul 3 07:07:52 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF38C1022E49; Tue, 3 Jul 2018 07:07:52 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F5E170BCA; Tue, 3 Jul 2018 07:07:52 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3C77E18D1A; Tue, 3 Jul 2018 07:07:52 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6377qu5069540; Tue, 3 Jul 2018 07:07:52 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6377poY069536; Tue, 3 Jul 2018 07:07:51 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201807030707.w6377poY069536@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Tue, 3 Jul 2018 07:07:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473802 - in head/math/saga: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/math/saga: . files X-SVN-Commit-Revision: 473802 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2018 07:07:52 -0000 Author: pi Date: Tue Jul 3 07:07:50 2018 New Revision: 473802 URL: https://svnweb.freebsd.org/changeset/ports/473802 Log: math/saga: update 6.3.0 -> 6.4.0, fix describe - Change from llvm50 to llvm60 - Use OpenMP from within llvm60 instead of devel/openmp - disable OpenMP, if i386 is detected PR: 229470, 229129 Submitted by: Rainer Hurling (maintainer) Reported by: Uasyhiro KIMURA Reviewed by: w.schwarzenfeld@utanet.at Relnotes: https://sourceforge.net/p/saga-gis/news/2018/06/saga-640-released/ Deleted: head/math/saga/files/patch-src_tools_io_io__grid__image_grid__to__kml.cpp Modified: head/math/saga/Makefile head/math/saga/distinfo head/math/saga/files/patch-configure.ac head/math/saga/files/patch-src_tools_io_io__shapes__las_las__export.cpp head/math/saga/pkg-plist Modified: head/math/saga/Makefile ============================================================================== --- head/math/saga/Makefile Tue Jul 3 06:31:39 2018 (r473801) +++ head/math/saga/Makefile Tue Jul 3 07:07:50 2018 (r473802) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= saga -PORTVERSION= 6.3.0 +PORTVERSION= 6.4.0 CATEGORIES= math MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]\.[[:digit:]]*$//}/SAGA%20-%20${PORTVERSION} @@ -12,7 +12,7 @@ COMMENT= System for Automated Geoscientific Analyses LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi -BUILD_DEPENDS= clang50:devel/llvm50 \ +BUILD_DEPENDS= clang60:devel/llvm60 \ swig3.0:devel/swig30 LIB_DEPENDS= libfftw3.so:math/fftw3 \ libgdal.so:graphics/gdal \ @@ -38,9 +38,6 @@ CONFIGURE_ENV= SWIG="${LOCALBASE}/bin/swig3.0" GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -CPP= clang-cpp50 -CC= clang50 -CXX= clang++50 INSTALLS_ICONS= yes DOS2UNIX_GLOB= *.cpp *.h PLIST_SUB= PORTVERSION=${PORTVERSION} @@ -48,17 +45,11 @@ PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= PGSQL OPENMP VIGRA OPTIONS_DEFAULT= PGSQL VIGRA OPTIONS_DEFAULT_amd64= OPENMP -OPTIONS_DEFAULT_i386= OPENMP NO_OPTIONS_SORT= yes OPTIONS_SUB= yes -OPENMP_DESC= Enable Multiprocessing (only amd64 and i386) +OPENMP_DESC= Enable Multiprocessing (only amd64, NOT i386) VIGRA_DESC= Enable 'Vision with Generic Algorithms' Library -## TODO: OPENMP_?= Only for archs amd64 and i386 -OPENMP_CONFIGURE_ENABLE= openmp -OPENMP_LIB_DEPENDS= libomp.so:devel/openmp -OPENMP_LDFLAGS= -L${LOCALBASE}/lib -lm -pthread -#OPENMP_EXTRA_PATCHES= ${PATCHDIR}/ PGSQL_CONFIGURE_OFF= --with-postgresql=no PGSQL_CONFIGURE_ON= --with-postgresql=${LOCALBASE}/bin/pg_config PGSQL_USES= pgsql @@ -69,6 +60,19 @@ INSTALL_TARGET= install-strip .include +# make describe needs them here +CPP= clang-cpp60 +CC= clang60 +CXX= clang++60 + +### TODO: OPENMP_?= NOT for other archs +.if ${OPSYS} == FreeBSD && ${ARCH} != i386 +OPENMP_CONFIGURE_ENABLE= openmp +OPENMP_LDFLAGS= -L${LOCALBASE}/lib -lm -L${LOCALBASE}/llvm60/lib -lomp +.else +OPENMP_CONFIGURE_DISABLE= openmp +.endif + SUB_FILES= pkg-message post-extract: @@ -99,7 +103,10 @@ post-patch: ${WRKSRC}/src/saga_core/saga_gui/dlg_about.cpp post-patch-OPENMP-on: - @${REINPLACE_CMD} -e 's|-lgomp|-lomp|' ${WRKSRC}/configure.ac + @${REINPLACE_CMD} -e 's|-lgomp|-lomp|' \ + ${WRKSRC}/configure.ac \ + ${WRKSRC}/configure \ + ${WRKSRC}/src/accessories/templates/template4saga-tools/my_tool_library/Makefile post-configure: @${REINPLACE_CMD} -e 's|cd $$(pkgdatadir);|cd ${STAGEDIR}${DATADIR};|g' \ Modified: head/math/saga/distinfo ============================================================================== --- head/math/saga/distinfo Tue Jul 3 06:31:39 2018 (r473801) +++ head/math/saga/distinfo Tue Jul 3 07:07:50 2018 (r473802) @@ -1,3 +1,3 @@ -TIMESTAMP = 1524468589 -SHA256 (saga-6.3.0.tar.gz) = bb4b99406e3a25cdaa12559904ce3272c449acb542bc0883b2755ce6508dd243 -SIZE (saga-6.3.0.tar.gz) = 4583450 +TIMESTAMP = 1530197655 +SHA256 (saga-6.4.0.tar.gz) = 9c3db7089278d50631171526d63398bb56417956623eb62b20143878dadd1490 +SIZE (saga-6.4.0.tar.gz) = 4603077 Modified: head/math/saga/files/patch-configure.ac ============================================================================== --- head/math/saga/files/patch-configure.ac Tue Jul 3 06:31:39 2018 (r473801) +++ head/math/saga/files/patch-configure.ac Tue Jul 3 07:07:50 2018 (r473802) @@ -1,4 +1,4 @@ ---- configure.ac.orig 2018-04-23 07:44:48 UTC +--- configure.ac.orig 2018-06-26 18:36:29 UTC +++ configure.ac @@ -20,13 +20,13 @@ AC_PROG_LIBTOOL AC_CHECK_LIB([opencv_core], [cvGetRows], CVFOUND=1,,) @@ -10,8 +10,9 @@ AC_CHECK_LIB([odbc], [SQLFetch], ODBCFOUND=1,[ODBC \(libodbc\) library not found]) AC_CHECK_LIB([proj], [pj_is_latlong], PROJFOUND=1,,) AC_CHECK_LIB([vigraimpex], [VIGRA_RGBE_ReadPixels_Raw],VIGRAFOUND=1,) - AC_CHECK_LIB([gomp], [omp_get_num_threads], GOMPFOUND=1,,) +-AC_CHECK_LIB([gomp], [omp_get_num_threads], GOMPFOUND=1,,) -AC_CHECK_HEADER([libsvm/svm.h],[AC_CHECK_LIB([svm], [svm_get_svm_type], SVMFOUND=1,,)]) ++AC_CHECK_LIB([omp], [omp_get_num_threads], GOMPFOUND=1,,) +AC_CHECK_HEADER([svm.h],[AC_CHECK_LIB([svm], [svm_get_svm_type], SVMFOUND=1,,)]) PKG_CHECK_MODULES([DXFLIB], [dxflib], [LIBDXFFOUND=1],[LIBDXFFOUND=0]) PKG_CHECK_MODULES([HDF5],[hdf5],LIBHDF5FOUND=1,LIBHDF5FOUND=0) Modified: head/math/saga/files/patch-src_tools_io_io__shapes__las_las__export.cpp ============================================================================== --- head/math/saga/files/patch-src_tools_io_io__shapes__las_las__export.cpp Tue Jul 3 06:31:39 2018 (r473801) +++ head/math/saga/files/patch-src_tools_io_io__shapes__las_las__export.cpp Tue Jul 3 07:07:50 2018 (r473802) @@ -1,4 +1,4 @@ ---- src/tools/io/io_shapes_las/las_export.cpp.orig 2018-05-01 09:07:10 UTC +--- src/tools/io/io_shapes_las/las_export.cpp.orig 2018-06-19 12:39:11 UTC +++ src/tools/io/io_shapes_las/las_export.cpp @@ -61,9 +61,9 @@ //--------------------------------------------------------- @@ -13,3 +13,4 @@ #include #include #include + Modified: head/math/saga/pkg-plist ============================================================================== --- head/math/saga/pkg-plist Tue Jul 3 06:31:39 2018 (r473801) +++ head/math/saga/pkg-plist Tue Jul 3 07:07:50 2018 (r473802) @@ -134,6 +134,8 @@ share/pixmaps/saga.png @mode 0666 %%DATADIR%%/accessories/CMakeLists.txt %%DATADIR%%/accessories/helper/make_arcsaga_toolboxes.bat +%%DATADIR%%/accessories/helper/make_python_api.bat +%%DATADIR%%/accessories/helper/make_python_api_x64.bat %%DATADIR%%/accessories/helper/make_saga_release.bat %%DATADIR%%/accessories/helper/make_saga_snapshot.bat %%DATADIR%%/accessories/helper/make_tools_interface.bat @@ -171,8 +173,8 @@ share/pixmaps/saga.png %%DATADIR%%/accessories/templates/template4saga-tools/my_tool_library/my_tool_library_link2bin.vcxproj.filters %%DATADIR%%/accessories/templates/template4saga-tools/my_tool_library/my_tool_library_link2src.vcxproj %%DATADIR%%/accessories/templates/template4saga-tools/my_tool_library/my_tool_library_link2src.vcxproj.filters -%%DATADIR%%/accessories/templates/template4saga-tools/my_tools_link2bin.vc10.sln -%%DATADIR%%/accessories/templates/template4saga-tools/my_tools_link2src.vc10.sln +%%DATADIR%%/accessories/templates/template4saga-tools/my_tools_link2bin.vc14.sln +%%DATADIR%%/accessories/templates/template4saga-tools/my_tools_link2src.vc14.sln %%DATADIR%%/accessories/templates/template4saga-tools/readme.txt %%DATADIR%%/saga.bra.txt %%DATADIR%%/saga.ger.txt