Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2022 23:12:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267980] emulators/qmc2: Fails to build on 12.3 SDL.h not found
Message-ID:  <bug-267980-7788-IQAH7xjs9e@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-267980-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-267980-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267980

--- 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267980-7788-IQAH7xjs9e>