Created attachment 165709 [details] set default sudo path version 2.1.x has a new configure option --with-sudo-command=PATH sets path to sudo (default /usr/sbin/sudo) If build on local tree with installed sudo the path is adjusted but not if build in poudriere.
A commit references this bug: Author: mat Date: Tue Jan 19 14:37:16 UTC 2016 New revision: 406706 URL: https://svnweb.freebsd.org/changeset/ports/406706 Log: Version 2.1 has a knob to tell where sudo is. Use it. PR: 206331 Submitted by: ohauer Sponsored by: Absolight Changes: head/net-mgmt/nagios-plugins/Makefile