We need an explicit link against libm when using a non-default toolchain. This is used in the cross build of arm/mips ports. http://chips.ysv.freebsd.org/data/11armv6-11armv6/2015-01-19_15h28m19s/logs/errors/akamaru-0.1_9.log My attempts to add -lm to this ports LDFLAGS have failed. Unsure how to do this.
Maintainer CC'd
Created attachment 152059 [details] patch This patch makes the port respect CFLAGS, CPPFLAGS, LDFLAGS and LIBS and should fix the issue.
Looks good on ARM with ext toolchain things here: http://tasty.ysv.freebsd.org/data/11armv6-11-armv6-ports/2015-01-23_19h51m00s/logs/akamaru-0.1_10.log
A commit references this bug: Author: sbruno Date: Thu Feb 12 20:48:27 UTC 2015 New revision: 378894 URL: https://svnweb.freebsd.org/changeset/ports/378894 Log: This patch makes the port respect CFLAGS, CPPFLAGS, LDFLAGS and LIBS. Fixes builds with external toolchains (qemu enabled poudriere jails). PR: 196968 Submitted by: tijl Approved by: maintainer timeout Changes: head/deskutils/akamaru/Makefile