[Bug 267980] emulators/qmc2: Fails to b uild on systems <13.x—SDL.h not found

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 03 Dec 2022 07:55:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267980

Alastair Hogge <agh@riseup.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback?(agh@ri |maintainer-feedback-
                   |seup.net)                   |

--- Comment #8 from Alastair Hogge <agh@riseup.net> ---
egrep on the build guests <13.x is perhaps too old and does not have the
expected Special Expressions found in the grep with guests ≥13.x.

12.3-RELEASE:
$ grep --version
grep (GNU grep) 2.5.1-FreeBSD

14-CURRENT:
$ grep --version
grep (BSD grep, GNU compatible) 2.6.0-FreeBSD

I do not think the GNU grep in the 12.3 build guest has the support for the \S
Special Expression. I have tested the build with the following change to
${WRKDIR}/qmc2-mame-fe-0.243/scripts/sdl-includepath.sh:

echo $SDL_CFLAGS | egrep -o -e "-I[^[:space:]]+" | sed -e 's/^-I//'

The build completes.

-- 
You are receiving this mail because:
You are the assignee for the bug.