ports/emulators/qmc2/files/extra-scripts-sdl-includepaths
Alastair Hogge 8674ebc2a7 emulators/qmc2: Fix build on systems <13.x: SDL.h not found
* Update ${RUN_DEPENDS} to reflect current mame/mess versions
* Add two more files to ${SHEBANG_FILES}
* Add ${EXTRA_PATCHES} conditional to compensate for missing \S Special
  Expression support in GNU grep on system <13.x (if that is even the problem)
* Add files/extra-scripts-sdl-includepaths to patch
  ${WRKSRC}/scripts/sdl-includepath.sh

PR:		267980
2022-12-05 09:37:53 +00:00

9 lines
266 B
Text

--- scripts/sdl-includepath.sh.orig 2022-12-03 08:13:04 UTC
+++ scripts/sdl-includepath.sh
@@ -26,5 +26,5 @@ fi
fi
fi
fi
-echo $SDL_CFLAGS | egrep -o -e "\\-I\\S+" | sed -e 's/^-I//'
+echo $SDL_CFLAGS | egrep -o -e "-I[^[:space:]]+" | sed -e 's/^-I//'
exit 0