... --- ../toxav/libtoxav_la-toxav.lo --- CC ../toxav/libtoxav_la-toxav.lo In file included from ../toxav/toxav.c:27: ../toxav/rtp.h:78:14: warning: redefinition of typedef '__fail_if_misaligned' is a C11 feature [-Wtypedef-redefinition] typedef char __fail_if_misaligned [ sizeof(struct RTPMessage) == 82 ? 1 : -1 ]; ^ ../toxav/rtp.h:68:14: note: previous definition is here typedef char __fail_if_misaligned [ sizeof(struct RTPHeader) == 80 ? 1 : -1 ]; ^ --- ../toxav/libtoxav_la-toxav_old.lo --- CC ../toxav/libtoxav_la-toxav_old.lo In file included from ../toxav/toxav_old.c:26: In file included from ../toxav/group.h:24: In file included from ../toxav/../toxcore/group.h:28: In file included from ../toxcore/Messenger.h:29: In file included from ../toxcore/friend_requests.h:27: In file included from ../toxcore/friend_connection.h:28: In file included from ../toxcore/net_crypto.h:27: In file included from ../toxcore/DHT.h:27: ../toxcore/crypto_core.h:30:10: fatal error: 'sodium.h' file not found #include <sodium.h> ^ 1 error generated. *** [../toxav/libtoxav_la-toxav_old.lo] Error code 1 Fix: install security/libsodium
The dependency is there, but there is a problem with the base Gcc -> fixed with clang.
A commit references this bug: Author: thierry Date: Sun Nov 15 18:54:09 UTC 2015 New revision: 401722 URL: https://svnweb.freebsd.org/changeset/ports/401722 Log: Fix build on FreeBSD 9-x with clang. PR: ports/204532 Reported by: rozhuk.im (at) gmail.com Changes: head/net-im/tox/Makefile