Bug 241096 - graphics/qgis: Fix build on i386
Summary: graphics/qgis: Fix build on i386
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-06 11:18 UTC by Rainer Hurling
Modified: 2019-10-06 11:18 UTC (History)
1 user (show)

See Also:


Attachments
Patch to fix build on i386 and some minor improvements (1.61 KB, patch)
2019-10-06 11:18 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 2019-10-06 11:18:04 UTC
Created attachment 208134 [details]
Patch to fix build on i386 and some minor improvements

For some time now, the Poudriere package builder complains about graphics/qgis on i386 (all FreeBSD versions) not able to build. 

This happens with all clang versions but 6.x, because newer clang versions (especially 9.x) do have problems with QT5 QMap and the long list in src/core/qgscoordinatereferencesystem_legacy.h.

To circumstance this, the patch introduces a test for ARCH=i386 and then using clang60 instead of clang90.


While here, the patch also removes the shebang for python scripts and the knob for GRASS_FORCE_MAKE_JOBS=no. Both are not necessary any more since the change from python2 to python3 and some improvements in databases/grass7. Many thanks to Loïc Bartoletti for the hints!


The patch is tested on Poudriere (11.3i/a, 12.0i/a, and HEADi/a),
'portlint -AC' seems happy.