aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/0070_nxcomp_use-MAKEDEPEND-in-path.full+lite.patch
diff options
context:
space:
mode:
authorClemens Lang <cal@macports.org>2015-03-15 07:18:14 +0100
committerMihai Moldovan <ionic@ionic.de>2015-03-15 07:42:59 +0100
commit8b45079eb73f323d5298555654440f4da2e77ca6 (patch)
treedb1b825c08f930a5e9e15dc334650e137304b59c /debian/patches/0070_nxcomp_use-MAKEDEPEND-in-path.full+lite.patch
parentd8b5ca2bf688f21a4a1789b9914e97ab9b5fc814 (diff)
downloadnx-libs-8b45079eb73f323d5298555654440f4da2e77ca6.tar.gz
nx-libs-8b45079eb73f323d5298555654440f4da2e77ca6.tar.bz2
nx-libs-8b45079eb73f323d5298555654440f4da2e77ca6.zip
nx{comp{,ext,shad},proxy}: use path discovery for finding makedepend. Remove old cruft. Adds:
- 0070_nxcomp_use-MAKEDEPEND-in-path.full+lite.patch - 0071_nxcompext_use-MAKEDEPEND-in-path.full+lite.patch - 0072_nxcompshad_use-MAKEDEPEND-in-path.full+lite.patch - 0073_nxproxy_use-MAKEDEPEND-in-path.full+lite.patch
Diffstat (limited to 'debian/patches/0070_nxcomp_use-MAKEDEPEND-in-path.full+lite.patch')
-rw-r--r--debian/patches/0070_nxcomp_use-MAKEDEPEND-in-path.full+lite.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/0070_nxcomp_use-MAKEDEPEND-in-path.full+lite.patch b/debian/patches/0070_nxcomp_use-MAKEDEPEND-in-path.full+lite.patch
new file mode 100644
index 000000000..edebac8eb
--- /dev/null
+++ b/debian/patches/0070_nxcomp_use-MAKEDEPEND-in-path.full+lite.patch
@@ -0,0 +1,27 @@
+Description: Discover makedepend in $PATH. Especially important for MacPorts (OS X.)
+Author: Clemens Lang <cal@macports.org>
+
+--- a/nxcomp/configure.in
++++ b/nxcomp/configure.in
+@@ -362,20 +362,7 @@ 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=/usr/bin/makedepend
+- fi
+- fi
+-fi
++MAKEDEPEND="$(which makedepend)"
+
+ dnl Determine what to build based on the platform.
+ dnl Override the LIBS settings on Cygwin32 so that