php*-fastdfs: remove hard-code patching
PR: 223714 Submitted by: Daniel Ylitalo <daniel@blodan.se> (maintainer)
Approved by: xxx (mentor) #Differential Revision: https://reviews.freebsd.org/Dxxxxx
php 56: http://joneumbox.org/data/11-1-i386-ports/2017-11-17_19h53m10s/logs/php56-fastdfs-5.0.11.log http://joneumbox.org/data/11-1-AMD64-ports/2017-11-17_19h53m10s/logs/php56-fastdfs-5.0.11.log
php 70: http://joneumbox.org/data/11-1_amd64-PHP70-ports/2017-11-17_20h05m17s/logs/php70-fastdfs-5.0.11.log http://joneumbox.org/data/11-1_i386-PHP70-ports/2017-11-17_20h05m17s/logs/php70-fastdfs-5.0.11.log
php 71: http://joneumbox.org/data/11-1_amd64-PHP71-ports/2017-11-17_20h13m37s/logs/php71-fastdfs-5.0.11.log http://joneumbox.org/data/11-1_i386-PHP71-ports/2017-11-17_20h13m37s/logs/php71-fastdfs-5.0.11.log
You probably should not change to DISTVERSION here, as that is the only change to the line
As these set PHP_VER, I do not think they need the IGNORE_WITH_PHP variable, it is useless. (Because what is in PHP_VER is used to check if IGNORE_WITH_PHP matches, so it will never match.)
switch back to PORTVERSION, remove PHP ignore
Ok, I think this is a good first step for these ports.
The next one is to see how you can combine them nicely into one like @tz suggested in revision D13123 :)
Unless @tz has anything to add for now, this seems fine.