linamh/net-misc/nx-X11/files/02_dont_build_nxcompshad.dpatch

36 lines
1.1 KiB
Plaintext
Raw Normal View History

#! /bin/sh /usr/share/dpatch/dpatch-run
## 02_dont_build_nxcompshad.dpatch by <marceloshima@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Correct build without nxcompext
@DPATCH@
Index: nx-x11-ubuntu/programs/Xserver/Imakefile
===================================================================
--- nx-x11-ubuntu.orig/programs/Xserver/Imakefile 2010-03-18 17:43:37.233685038 -0300
+++ nx-x11-ubuntu/programs/Xserver/Imakefile 2010-03-18 17:52:15.423684745 -0300
@@ -1037,17 +1037,17 @@
NX_XSHADOWCONFIGTARGET = $(NX_XSHADOWLIBDIR)/config.status
$(NX_XSHADOWCONFIGTARGET):
- cd $(NX_XSHADOWLIBDIR) && \
- ./configure
+# cd $(NX_XSHADOWLIBDIR) && \
+# ./configure
#ifdef SunArchitecture
$(NX_XSHADOWLIBTARGET): $(NX_XSHADOWCONFIGTARGET)
- cd $(NX_XSHADOWLIBDIR) && \
- gmake
+# cd $(NX_XSHADOWLIBDIR) && \
+# gmake
#else
$(NX_XSHADOWLIBTARGET): $(NX_XSHADOWCONFIGTARGET)
- cd $(NX_XSHADOWLIBDIR) && \
- make
+# cd $(NX_XSHADOWLIBDIR) && \
+# make
#endif
ServerTarget(nxagent,$(NX_XSHADOWLIBTARGET) $(NXAGENTDIRS),$(NXAGENTOBJS), \