1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-20 12:10:31 -04:00
ports/cad/linuxcnc-devel/files/patch-src_hal_utils_halcompile.g
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

20 lines
887 B
Text

--- src/hal/utils/halcompile.g.orig 2016-06-25 02:19:12 UTC
+++ src/hal/utils/halcompile.g
@@ -709,7 +709,7 @@ def build_usr(tempdir, filename, mode, o
options.get("extra_link_args", ""))
print >>f, "include %s" % find_modinc()
f.close()
- result = os.system("cd %s && make -S %s" % (tempdir, binname))
+ result = os.system("cd %s && gmake -S %s" % (tempdir, binname))
if result != 0:
raise SystemExit, os.WEXITSTATUS(result) or 1
output = os.path.join(tempdir, binname)
@@ -731,7 +731,7 @@ def build_rt(tempdir, filename, mode, or
target = "modules install"
else:
target = "modules"
- result = os.system("cd %s && make -S %s" % (tempdir, target))
+ result = os.system("cd %s && gmake -S %s" % (tempdir, target))
if result != 0:
raise SystemExit, os.WEXITSTATUS(result) or 1
if mode == COMPILE: