pecl-rar v4.0.0 must supports php 7.0 and 7.1, but in /usr/ports/archivers/pecl-rar/Makefile there is: IGNORE_WITH_PHP= 70 71 If I disable it, the port compiled successfuly.
A commit references this bug: Author: joneum Date: Mon Jan 29 18:07:03 UTC 2018 New revision: 460318 URL: https://svnweb.freebsd.org/changeset/ports/460318 Log: remove IGNORE_WITH_PHP= 70 71 This port build fine with PHP 70, 71 and 72 PR: 225292 Reported by: v.chernyadev@tradesoft.ru Approved by: mentors (implicit) Changes: head/archivers/pecl-rar/Makefile