From http://package18.nyi.freebsd.org/data/headamd64PR214864cxx98-default/2018-05-29_20h14m12s/logs/errors/hedgewars-0.9.24.1.log /usr/bin/ld: error: /wrkdirs/usr/ports/games/hedgewars/work/hedgewars-src-0.9.24.1/hedgewars/CMakeFiles/hwengine.dir/uConsts.o: invalid alignment of section headers Root cause of invalid .o file should be identified and fixed, but adding LLD_UNSAFE=yes to the port's Makefile may be a sufficient short-term workaround.
A commit references this bug: Author: amdmi3 Date: Fri Jun 22 18:47:37 UTC 2018 New revision: 473056 URL: https://svnweb.freebsd.org/changeset/ports/473056 Log: - Attempt to fix build with lld PR: 228639 Submitted by: emaste Changes: head/games/hedgewars/Makefile