[Bug 267980] emulators/qmc2: Fails to build on 12.3 SDL.h not found

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 30 Nov 2022 23:12:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267980

--- Comment #6 from Alastair Hogge <agh@riseup.net> ---
From
https://github.com/qmc2/qmc2-mame-fe/blob/master/scripts/sdl-includepath.sh:

echo $SDL_CFLAGS | egrep -o -e "\\-I\\S+" | sed -e 's/^-I//'

Appears to be failing on egrep. Prior to the pipe to egrep, ${SDL_CFLAGS}
expands to:

-I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE

I think egrep is meant to remove the -I, the trailing whitespace, and the -D_*
flags.

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