#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_build_nx-X11_without_nxcomp.dpatch by  <marceloshima@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Correct build without nxcomp and nxcompext

@DPATCH@
--- a/lib/X11/Imakefile
+++ b/lib/X11/Imakefile
@@ -1150,30 +1150,30 @@
 #if NXLibraries
 
 $(NX_XCOMPCONFIGTARGET):
-	cd ../../../nxcomp && \
-	./configure
+#	cd ../../../nxcomp && \
+#	./configure
 
 $(NX_XCOMPEXTCONFIGTARGET):
-	cd ../../../nxcompext && \
-	./configure
+#	cd ../../../nxcompext && \
+#	./configure
 
 #ifdef SunArchitecture
 $(NX_XCOMPLIBTARGET): $(NX_XCOMPCONFIGTARGET)
-	cd $(NX_XCOMPLIBDIR) && \
-	gmake
+#	cd $(NX_XCOMPLIBDIR) && \
+#	gmake
 
 $(NX_XCOMPEXTLIBTARGET): $(NX_XCOMPEXTCONFIGTARGET)
-	cd ../../../nxcompext && \
-	gmake
+#	cd ../../../nxcompext && \
+#	gmake
 
 #else
 $(NX_XCOMPLIBTARGET): $(NX_XCOMPCONFIGTARGET)
-	cd $(NX_XCOMPLIBDIR) && \
-	make
+#	cd $(NX_XCOMPLIBDIR) && \
+#	make
 
 $(NX_XCOMPEXTLIBTARGET): $(NX_XCOMPEXTCONFIGTARGET)
-	cd ../../../nxcompext && \
-	make
+#	cd ../../../nxcompext && \
+#	make
 
 #endif