Bug 229470 - math/saga: Update to 6.4.0
Summary: math/saga: Update to 6.4.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-02 07:24 UTC by Rainer Hurling
Modified: 2018-07-03 07:08 UTC (History)
2 users (show)

See Also:


Attachments
Update math/saga from 6.3.0 to 6.4.0 (7.36 KB, patch)
2018-07-02 07:24 UTC, Rainer Hurling
rhurlin: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Hurling freebsd_committer freebsd_triage 2018-07-02 07:24:31 UTC
Created attachment 194830 [details]
Update math/saga from 6.3.0 to 6.4.0

This patch updates SAGA GIS from version 6.3.0 to 6.4.0.

The port for 6.3.0 had problems to find OpenMP[1]. Unfortunately, I found no way with GCC, the port builts, but did not ran afterwards. So I decided to only use CLANG and to disable OpenMP, if i386 is detected.

The second (and third) problem with 6.3.0 was finding the ports clang compiler and that 'make describe' does not work under all circumstances[2]. Moving CC=, CXX= and CPP= after '.include <bsd.port.pre.mk>' seems to solve both.

What the port update should do:
- Update from 6.3.0 to 6.4.0
- Change from llvm50 to llvm60
- Use OpenMP from within llvm60 instead of devel/openmp
- Change -lgomp into -lomp on some more places
- Delete patch-src_tools_io_io__grid__image_grid__to__kml.cpp,
  because it is upstream now
- Update pkg-plist again


Tested with Poudriere (F10.4i/a, F11.2i/a, and HEADi/a).

'portlint -AC' is also fine.


[1] http://package19.nyi.freebsd.org/data/104amd64-default-build-as-user/473644/logs/saga-6.3.0.log
[2] bug #229129
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2018-07-02 08:09:23 UTC
testbuilds@work
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2018-07-03 07:08:00 UTC
Committed, thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-07-03 07:08:30 UTC
A commit references this bug:

Author: pi
Date: Tue Jul  3 07:07:52 UTC 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 <rhurlin@gwdg.de> (maintainer)
  Reported by:	Uasyhiro KIMURA <yasu@utahime.org>
  Reviewed by:	w.schwarzenfeld@utanet.at
  Relnotes:	https://sourceforge.net/p/saga-gis/news/2018/06/saga-640-released/

Changes:
  head/math/saga/Makefile
  head/math/saga/distinfo
  head/math/saga/files/patch-configure.ac
  head/math/saga/files/patch-src_tools_io_io__grid__image_grid__to__kml.cpp
  head/math/saga/files/patch-src_tools_io_io__shapes__las_las__export.cpp
  head/math/saga/pkg-plist