summaryrefslogtreecommitdiff
path: root/cad/linuxcnc-devel/files/patch-src_configure.in
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2016-07-13 09:18:47 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2016-07-13 09:18:47 +0000
commita6e315222478e3f425cce3e5f06e5a92e85cb076 (patch)
treeefae5834f35e2bc2c9171b48e1725a62bf9559be /cad/linuxcnc-devel/files/patch-src_configure.in
parent- Clarify LICENSE (diff)
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/
Diffstat (limited to 'cad/linuxcnc-devel/files/patch-src_configure.in')
-rw-r--r--cad/linuxcnc-devel/files/patch-src_configure.in49
1 files changed, 49 insertions, 0 deletions
diff --git a/cad/linuxcnc-devel/files/patch-src_configure.in b/cad/linuxcnc-devel/files/patch-src_configure.in
new file mode 100644
index 000000000000..e5c95f77f8d0
--- /dev/null
+++ b/cad/linuxcnc-devel/files/patch-src_configure.in
@@ -0,0 +1,49 @@
+--- src/configure.in.orig 2016-06-25 02:19:12 UTC
++++ src/configure.in
+@@ -665,7 +665,7 @@ else
+ esac
+ LINUXCNC_CONFIG_PATH="~/linuxcnc/configs:/usr/local/etc/linuxcnc/configs:"$(eval echo $EMC2_HELP_DIR)"/examples/sample-configs"
+ EMC2_NCFILES_DIR=${prefix}/share/linuxcnc/ncfiles
+- REALTIME=/etc/init.d/realtime
++ REALTIME=${prefix}/etc/rc.d/realtime
+ EMC2_IMAGE_DIR=$(fe "$datadir")/linuxcnc
+ HALLIB_DIR=${prefix}/share/linuxcnc/hallib
+ fi
+@@ -807,25 +807,25 @@ then
+ AC_MSG_ERROR([awk not found])
+ fi
+
+-AC_PATH_PROG(INSMOD, insmod, "none", $SPATH)
++AC_PATH_PROG(INSMOD, false, "none", $SPATH)
+ if test $INSMOD = "none"
+ then
+ AC_MSG_ERROR([insmod not found])
+ fi
+
+-AC_PATH_PROG(RMMOD, rmmod, "none", $SPATH)
++AC_PATH_PROG(RMMOD, false, "none", $SPATH)
+ if test $RMMOD = "none"
+ then
+ AC_MSG_ERROR([rmmod not found])
+ fi
+
+-AC_PATH_PROG(LSMOD, lsmod, "none", $SPATH)
++AC_PATH_PROG(LSMOD, true, "none", $SPATH)
+ if test $LSMOD = "none"
+ then
+ AC_MSG_ERROR([lsmod not found])
+ fi
+
+-AC_PATH_PROG(PIDOF, pidof, "none", $SPATH)
++AC_PATH_PROGS(PIDOF, pidof pgrep, "none", $SPATH)
+ if test $PIDOF = "none"
+ then
+ AC_MSG_ERROR([pidof not found])
+@@ -1180,7 +1180,6 @@ AC_MSG_RESULT($HAVE_OPTRESET)
+ AC_SUBST([HAVE_OPTRESET])
+
+
+-
+ LIBS_hold=$LIBS
+ LIBS=
+ AC_SEARCH_LIBS(dlopen, [c dl], [