ports/cad/linuxcnc-devel/files/patch-tests_build_header-sanity_test.sh
Edward Tomasz Napierala a6e3152224 LinuxCNC controls CNC machines. It can drive milling machines,
lathes, 3d printers, laser cutters, plasma cutters, robot arms,
hexapods, and more.

- Accepts G-code input, drives CNC machines in response.
- Active user community.
- Several different GUIs available.
- Compatible with many popular machine control hardware interfaces.
- Supports rigid tapping, cutter compensation, and many other advanced
  control features.

WARNING: This port is simulation-only for now.

WWW: http://linuxcnc.org/
2016-07-13 09:18:47 +00:00

17 lines
606 B
Bash

--- tests/build/header-sanity/test.sh.orig 2016-06-25 02:19:12 UTC
+++ tests/build/header-sanity/test.sh
@@ -5,12 +5,12 @@ for i in $HEADERS/*.h; do
case $i in
*/rtapi_app.h) continue ;;
esac
- gcc -DULAPI -I$HEADERS -E -x c $i > /dev/null
+ cc -DULAPI -I$HEADERS -I/usr/local/include -E -x c $i > /dev/null
done
for i in $HEADERS/*.h $HEADERS/*.hh; do
case $i in
*/rtapi_app.h) continue ;;
*/interp_internal.hh) continue ;;
esac
- g++ -DULAPI -I$HEADERS -E -x c++ $i > /dev/null
+ c++ -DULAPI -I$HEADERS -I/usr/local/include -E -x c++ $i > /dev/null
done