openbsd-ports/x11/xgrab/patches/patch-Imakefile
jasper aee2346cd7 - use our naming scheme for patches
- kill a trailing whitespace in xpostit/Makefile
2007-10-26 20:59:01 +00:00

39 lines
1.3 KiB
Plaintext

$OpenBSD: patch-Imakefile,v 1.1 2007/10/26 20:59:01 jasper Exp $
--- Imakefile.orig Tue Nov 7 20:31:39 1995
+++ Imakefile Fri Oct 26 22:51:21 2007
@@ -14,7 +14,7 @@
*========================================================================
*/
-#define MOTIF_XGRAB /* uncomment this to get the Motif version of xgrab */
+/*#define MOTIF_XGRAB /* uncomment this to get the Motif version of xgrab */
/* you can specify many config.h options here if you don't want to
* modify config.h. E.g.,
@@ -59,11 +59,11 @@ ComplexProgramTarget_1(xgrabsc,Nil,$(XLIB))
ComplexProgramTarget_2(xgrab,Nil,$(LIBS2))
SpecialObjectRule(Objs2,$(SRCS2) ADInc config.h, Nil)
-xgrabsc.o:: xgrabsc.h cmdopts.h config.h
-get.o:: xgrabsc.h config.h
-mem.o:: xgrabsc.h config.h
-convert.o:: xgrabsc.h config.h
-write.o:: xgrabsc.h checkvm.h config.h
+xgrabsc.o: xgrabsc.h cmdopts.h config.h
+get.o: xgrabsc.h config.h
+mem.o: xgrabsc.h config.h
+convert.o: xgrabsc.h config.h
+write.o: xgrabsc.h checkvm.h config.h
ADInc: xgrab_ad.h
$(CP) xgrab_ad.h ADInc
@@ -78,7 +78,7 @@ XGrab.ad: ADName
ADName: ADSource
rm -f ADName
- $(XRDB) -n ADSource >ADName
+ cpp <ADSource |sed -e '/^$$/d' -e '/^#/d' >ADName
clean::
$(RM) xgrabxaw_ad.h xgrabxm_ad.h xgrabxaw xgrabxm XGrab.ad xgrab_ad.h