freebsd-ports/misc/mc
Alexey Dokuchaev bf294827ef misc/mc: improve the check whether installed diff(1) is GNU or BSD
In 2017, GNU diff had been replaced by BSD licensed diff in our base,
but some features of GNU diff had not been implemented, particularly,
the ``group format'' family of options.  Instead of checking for the
${OSVERSION} value, check if installed diff(1) implementation is GNU
or BSD one based on the --version output.

Because conditions are subject to immediate expansion, we cannot use
${DIFF} and ${GREP} variables; however, literal ``diff'' is actually
correct in this particular case as user's preferred diff(1) does not
necessarily point to ``/usr/bin/diff'' which ${DIFF} expands to.

While here, amend the EDITOR option description so it clearly refers
to the internal *text* editor.
2021-09-26 15:44:55 +00:00
..
files misc/mc: the port had been improved (+) 2021-05-27 08:42:43 +00:00
distinfo misc/mc: update Midnight Commander to version 4.8.27, but not only 2021-08-20 09:01:54 +00:00
Makefile misc/mc: improve the check whether installed diff(1) is GNU or BSD 2021-09-26 15:44:55 +00:00
pkg-descr
pkg-plist misc/mc: update Midnight Commander to version 4.8.27, but not only 2021-08-20 09:01:54 +00:00