aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/0073_nxproxy_use-MAKEDEPEND-in-path.full+lite.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0073_nxproxy_use-MAKEDEPEND-in-path.full+lite.patch')
-rw-r--r--debian/patches/0073_nxproxy_use-MAKEDEPEND-in-path.full+lite.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/0073_nxproxy_use-MAKEDEPEND-in-path.full+lite.patch b/debian/patches/0073_nxproxy_use-MAKEDEPEND-in-path.full+lite.patch
new file mode 100644
index 000000000..0b1891288
--- /dev/null
+++ b/debian/patches/0073_nxproxy_use-MAKEDEPEND-in-path.full+lite.patch
@@ -0,0 +1,26 @@
+Description: Discover makedepend in $PATH. Especially important for MacPorts (OS X.)
+Author: Clemens Lang <cal@macports.org>
+
+--- a/nxproxy/configure.in
++++ b/nxproxy/configure.in
+@@ -167,19 +167,6 @@ fi
+ dnl Find makedepend somewhere.
+
+ AC_SUBST(MAKEDEPEND)
+-
+-if test -x "../nx-X11/config/makedepend/makedepend" ; then
+- MAKEDEPEND=../nx-X11/config/makedepend/makedepend
+-else
+- if test -x "/usr/X11R6/bin/makedepend" ; then
+- MAKEDEPEND=/usr/X11R6/bin/makedepend
+- else
+- if test -x "/usr/openwin/bin/makedepend" ; then
+- MAKEDEPEND=/usr/openwin/bin/makedepend
+- else
+- MAKEDEPEND=makedepend
+- fi
+- fi
+-fi
++MAKEDEPEND="$(which makedepend)"
+
+ AC_OUTPUT(Makefile)