Created attachment 175841 [details] Full build log ===> Installing for tshark-2.2.1 ===> Registering installation for tshark-2.2.1 pkg-static: Unable to access file /usr/ports/net/tshark/work/stage/usr/local/lib/libwscodecs.so: No such file or directory pkg-static: Unable to access file /usr/ports/net/tshark/work/stage/usr/local/lib/libwscodecs.so.1: No such file or directory pkg-static: Unable to access file /usr/ports/net/tshark/work/stage/usr/local/lib/libwscodecs.so.1.0.0: No such file or directory *** Error code 74 Stop. make[2]: stopped in /usr/ports/net/tshark *** Error code 1 Stop. make[1]: stopped in /usr/ports/net/tshark *** Error code 1 Stop. make: stopped in /usr/ports/net/tshark
Created attachment 175851 [details] tshark patch
I think it's pkg-plist bug - libwscodecs.so doesn't build for GUI-less tshark. Above patch fixes things for me.
Committed patch. Thanks!
A commit references this bug: Author: marcus Date: Mon Oct 17 13:22:13 UTC 2016 New revision: 424115 URL: https://svnweb.freebsd.org/changeset/ports/424115 Log: libwscodecs requires X11. This fixes the build for tshark[-lite]. PR: 213550 Submitted by: sergey@akhmatov.ru Changes: head/net/wireshark/pkg-plist