Commit 06b51cc3 authored by Mihai Moldovan's avatar Mihai Moldovan

nx{comp{,ext,shad},proxy}: try really hard to find makedepend. Do not fail if it is not available.

Also rename to account for dependency changes: - 0070_nxcomp_use-MAKEDEPEND-in-path.full+lite.patch => 0410_nxcomp_use-MAKEDEPEND-in-path.full+lite.patch - 0071_nxcompext_use-MAKEDEPEND-in-path.full+lite.patch => 0610_nxcompext_use-MAKEDEPEND-in-path.full+lite.patch - 0072_nxcompshad_use-MAKEDEPEND-in-path.full+lite.patch => 0611_nxcompshad_use-MAKEDEPEND-in-path.full+lite.patch - 0073_nxproxy_use-MAKEDEPEND-in-path.full+lite.patch => 0612_nxproxy_use-MAKEDEPEND-in-path.full+lite.patch - 0074_nxcomp_use-dynamiclib-flag-on-OS-X.full+lite.patch => 0613_nxcomp_use-dynamiclib-flag-on-OS-X.full+lite.patch - 0075_nxcompshad_use-dynamiclib-flag-on-OS-X.full+lite.patch => 0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full+lite.patch - 0610_nxcompext_use-correct-library-naming-scheme-on-OS-X.full+lite.patch => 0620_nxcompext_use-correct-library-naming-scheme-on-OS-X.full+lite.patch - 0611_nxcompshad_use-correct-library-naming-scheme-on-OS-X.full+lite.patch => 0621_nxcompshad_use-correct-library-naming-scheme-on-OS-X.full+lite.patch
parent 91f1fed2
......@@ -17,6 +17,29 @@ nx-libs (2:3.5.0.31-0x2go1) UNRELEASED; urgency=low
- 0610_nxcompext_use-correct-library-naming-scheme-on-OS-X.full+lite.patch
- 0611_nxcompshad_use-correct-library-naming-scheme-on-OS-X.full+lite.patch
[ Mihai Moldovan ]
* nx{comp{,ext,shad},proxy}: try really hard to find makedepend. Do not fail
if it is not available.
* Rename:
- 0070_nxcomp_use-MAKEDEPEND-in-path.full+lite.patch =>
0410_nxcomp_use-MAKEDEPEND-in-path.full+lite.patch
- 0071_nxcompext_use-MAKEDEPEND-in-path.full+lite.patch =>
0610_nxcompext_use-MAKEDEPEND-in-path.full+lite.patch
- 0072_nxcompshad_use-MAKEDEPEND-in-path.full+lite.patch =>
0611_nxcompshad_use-MAKEDEPEND-in-path.full+lite.patch
- 0073_nxproxy_use-MAKEDEPEND-in-path.full+lite.patch =>
0612_nxproxy_use-MAKEDEPEND-in-path.full+lite.patch
- 0074_nxcomp_use-dynamiclib-flag-on-OS-X.full+lite.patch =>
0613_nxcomp_use-dynamiclib-flag-on-OS-X.full+lite.patch
- 0075_nxcompshad_use-dynamiclib-flag-on-OS-X.full+lite.patch =>
0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full+lite.patch
- 0610_nxcompext_use-correct-library-naming-scheme-on-OS-X.full+lite.patch
=>
0620_nxcompext_use-correct-library-naming-scheme-on-OS-X.full+lite.patch
- 0611_nxcompshad_use-correct-library-naming-scheme-on-OS-X.full+lite.patch
=>
0621_nxcompshad_use-correct-library-naming-scheme-on-OS-X.full+lite.patch
-- X2Go Release Manager <git-admin@x2go.org> Sun, 15 Mar 2015 00:48:06 +0100
nx-libs (2:3.5.0.30-0x2go1) unstable; urgency=low
......
Description: Discover makedepend in $PATH. Especially important for MacPorts (OS X.)
Author: Clemens Lang <cal@macports.org>
v2: Mihai Moldovan <ionic@ionic.de>
--- a/nxcomp/configure.in
+++ b/nxcomp/configure.in
@@ -362,20 +362,7 @@ fi
@@ -362,18 +362,15 @@ fi
dnl Find makedepend somewhere.
AC_SUBST(MAKEDEPEND)
-
+MAKEDEPEND="$(which makedepend)"
-if test -x "../nx-X11/config/makedepend/makedepend" ; then
- MAKEDEPEND=../nx-X11/config/makedepend/makedepend
-else
......@@ -19,9 +21,27 @@ Author: Clemens Lang <cal@macports.org>
- else
- MAKEDEPEND=/usr/bin/makedepend
- fi
- fi
-fi
+MAKEDEPEND="$(which makedepend)"
+# Try to desperately find makedepend.
+# Set MAKEDEPEND to the shipped makedepend binary. This will not
+# exist in nx-libs-lite, though, in which case MAKEDEPEND
+# will stay empty.
+if test -z "${MAKEDEPEND}"; then
+ if test -x "../nx-X11/config/makedepend/makedepend"; then
+ MAKEDEPEND="../nx-X11/config/makedepend/makedepend"
fi
fi
--- a/nxcomp/Makefile.in
+++ b/nxcomp/Makefile.in
@@ -263,9 +263,9 @@ depends: depend.status
depend: depend.status
dnl Determine what to build based on the platform.
dnl Override the LIBS settings on Cygwin32 so that
depend.status:
- if [ -x $(MAKEDEPEND) ] ; then \
+ if [ -n "$(MAKEDEPEND)" ] && [ -x "$(MAKEDEPEND)" ] ; then \
$(MAKEDEPEND) $(CXXINCLUDES) $(CCINCLUDES) \
- $(DEPENDINCLUDES) -f Makefile $(MSRC) $(CSRC) \
+ $(DEPENDINCLUDES) -f Makefile $(MSRC) $(CSRC) \
$(CXXSRC) 2>/dev/null; \
fi
touch depend.status
Description: Discover makedepend in $PATH. Especially important for MacPorts (OS X.)
Author: Clemens Lang <cal@macports.org>
v2: Mihai Moldovan <ionic@ionic.de>
--- a/nxcompext/configure.in
+++ b/nxcompext/configure.in
@@ -219,20 +219,7 @@ CFLAGS="$CFLAGS -DVERSION=\\\"${VERSION}
@@ -219,18 +219,15 @@ CFLAGS="$CFLAGS -DVERSION=\\\"${VERSION}
dnl Find makedepend somewhere.
AC_SUBST(MAKEDEPEND)
-
+MAKEDEPEND="$(which makedepend)"
-if test -x "../nx-X11/config/makedepend/makedepend" ; then
- MAKEDEPEND=../nx-X11/config/makedepend/makedepend
-else
......@@ -19,9 +21,27 @@ Author: Clemens Lang <cal@macports.org>
- else
- MAKEDEPEND=/usr/bin/makedepend
- fi
- fi
-fi
+MAKEDEPEND="$(which makedepend)"
+# Try to desperately find makedepend.
+# Set MAKEDEPEND to the shipped makedepend binary. This will not
+# exist in nx-libs-lite, though, in which case MAKEDEPEND
+# will stay empty.
+if test -z "${MAKEDEPEND}"; then
+ if test -x "../nx-X11/config/makedepend/makedepend"; then
+ MAKEDEPEND="../nx-X11/config/makedepend/makedepend"
fi
fi
--- a/nxcompext/Makefile.in
+++ b/nxcompext/Makefile.in
@@ -144,9 +144,9 @@ depends: depend.status
depend: depend.status
dnl Determine what to build based on the platform.
dnl Override the LIBS settings on Cygwin32 so that
depend.status:
- if [ -x $(MAKEDEPEND) ] ; then \
+ if [ -n "$(MAKEDEPEND)" ] && [ -x "$(MAKEDEPEND)" ] ; then \
$(MAKEDEPEND) $(CXXINCLUDES) $(CCINCLUDES) \
- $(DEPENDINCLUDES) -f Makefile $(MSRC) $(CSRC) \
+ $(DEPENDINCLUDES) -f Makefile $(MSRC) $(CSRC) \
$(CXXSRC) 2>/dev/null; \
fi
touch depend.status
Description: Discover makedepend in $PATH. Especially important for MacPorts (OS X.)
Author: Clemens Lang <cal@macports.org>
v2: Mihai Moldovan <ionic@ionic.de>
--- a/nxcompshad/configure.in
+++ b/nxcompshad/configure.in
@@ -269,19 +269,6 @@ fi
@@ -269,18 +269,15 @@ fi
dnl Find makedepend somewhere.
AC_SUBST(MAKEDEPEND)
-
+MAKEDEPEND="$(which makedepend)"
-if test -x "../nx-X11/config/makedepend/makedepend" ; then
- MAKEDEPEND=../nx-X11/config/makedepend/makedepend
-else
......@@ -19,8 +21,27 @@ Author: Clemens Lang <cal@macports.org>
- else
- MAKEDEPEND=makedepend
- fi
- fi
-fi
+MAKEDEPEND="$(which makedepend)"
+# Try to desperately find makedepend.
+# Set MAKEDEPEND to the shipped makedepend binary. This will not
+# exist in nx-libs-lite, though, in which case MAKEDEPEND
+# will stay empty.
+if test -z "${MAKEDEPEND}"; then
+ if test -x "../nx-X11/config/makedepend/makedepend"; then
+ MAKEDEPEND="../nx-X11/config/makedepend/makedepend"
fi
fi
--- a/nxcompshad/Makefile.in
+++ b/nxcompshad/Makefile.in
@@ -179,9 +179,9 @@ depends: depend.status
depend: depend.status
depend.status:
- if [ -x $(MAKEDEPEND) ] ; then \
+ if [ -n "$(MAKEDEPEND)" ] && [ -x "$(MAKEDEPEND)" ] ; then \
$(MAKEDEPEND) $(CXXINCLUDES) $(CCINCLUDES) \
- $(DEPENDINCLUDES) -f Makefile $(MSRC) $(CSRC) $(CXXSRC) 2>/dev/null; \
+ $(DEPENDINCLUDES) -f Makefile $(MSRC) $(CSRC) $(CXXSRC) 2>/dev/null; \
fi
touch depend.status
AC_OUTPUT(Makefile)
Description: Discover makedepend in $PATH. Especially important for MacPorts (OS X.)
Author: Clemens Lang <cal@macports.org>
v2: Mihai Moldovan <ionic@ionic.de>
--- a/nxproxy/configure.in
+++ b/nxproxy/configure.in
@@ -167,19 +167,6 @@ fi
@@ -167,18 +167,15 @@ fi
dnl Find makedepend somewhere.
AC_SUBST(MAKEDEPEND)
-
+MAKEDEPEND="$(which makedepend)"
-if test -x "../nx-X11/config/makedepend/makedepend" ; then
- MAKEDEPEND=../nx-X11/config/makedepend/makedepend
-else
......@@ -19,8 +21,27 @@ Author: Clemens Lang <cal@macports.org>
- else
- MAKEDEPEND=makedepend
- fi
- fi
-fi
+MAKEDEPEND="$(which makedepend)"
+# Try to desperately find makedepend.
+# Set MAKEDEPEND to the shipped makedepend binary. This will not
+# exist in nx-libs-lite, though, in which case MAKEDEPEND
+# will stay empty.
+if test -z "${MAKEDEPEND}"; then
+ if test -x "../nx-X11/config/makedepend/makedepend"; then
+ MAKEDEPEND="../nx-X11/config/makedepend/makedepend"
fi
fi
--- a/nxproxy/Makefile.in
+++ b/nxproxy/Makefile.in
@@ -80,9 +80,9 @@ depends: depend.status
depend: depend.status
depend.status:
- if [ -x $(MAKEDEPEND) ] ; then \
+ if [ -n "$(MAKEDEPEND)" ] && [ -x "$(MAKEDEPEND)" ] ; then \
$(MAKEDEPEND) $(CXXINCLUDES) $(CCINCLUDES) \
- $(DEPENDINCLUDES) -f Makefile $(MSRC) $(CSRC) $(CXXSRC) 2>/dev/null; \
+ $(DEPENDINCLUDES) -f Makefile $(MSRC) $(CSRC) $(CXXSRC) 2>/dev/null; \
fi
touch depend.status
AC_OUTPUT(Makefile)
......@@ -32,12 +32,6 @@
0055_nx-X11_imake-Werror-format-security.full.patch
0056_nx-X11_Werror-format-security.full.patch
0057_nx-X11_sanitize-eventmasks.full.patch
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
0074_nxcomp_use-dynamiclib-flag-on-OS-X.full+lite.patch
0075_nxcompshad_use-dynamiclib-flag-on-OS-X.full+lite.patch
0101_nxagent_set-rgb-path.full.patch
0102_xserver-xext_set-securitypolicy-path.full.patch
0103_nxagent_set-X0-config-path.full.patch
......@@ -67,7 +61,8 @@
0321_nxagent_x2go-specific-keystroke-config.full.patch
0400_nxcomp-version.full+lite.patch
#0401_nxcomp_bigrequests-and-genericevent-extensions.full+lite.patch
0410_nxcomp_use-correct-library-naming-scheme-on-OS-X.full+lite.patch
0410_nxcomp_use-MAKEDEPEND-in-path.full+lite.patch
0420_nxcomp_use-correct-library-naming-scheme-on-OS-X.full+lite.patch
0600_nx-X11+nxcompext+nxcompshad_unique-libnames.full.patch
0601_nx-X11_build-option-changes-to-not-use-bundled-libraries.full.patch
0602_nx-X11_initgroups.full.patch
......@@ -75,8 +70,13 @@
0605_nxcomp_Types.h-dont-use-STL-internals-on-libc++.full+lite.patch
0606_nx-X11_build-on-aarch64.full.patch
0607_nxcomp_macosx-X11-launcher-in-private-tmp.full+lite.patch
0610_nxcompext_use-correct-library-naming-scheme-on-OS-X.full+lite.patch
0611_nxcompshad_use-correct-library-naming-scheme-on-OS-X.full+lite.patch
0610_nxcompext_use-MAKEDEPEND-in-path.full+lite.patch
0611_nxcompshad_use-MAKEDEPEND-in-path.full+lite.patch
0612_nxproxy_use-MAKEDEPEND-in-path.full+lite.patch
0613_nxcomp_use-dynamiclib-flag-on-OS-X.full+lite.patch
0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full+lite.patch
0620_nxcompext_use-correct-library-naming-scheme-on-OS-X.full+lite.patch
0621_nxcompshad_use-correct-library-naming-scheme-on-OS-X.full+lite.patch
0990_fix-DEBUG-and-TEST-builds.full.patch
0991_fix-hr-typos.full+lite.patch
0991_fix-hr-typos.full.patch
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment