openbsd-ports/x11/openmotif/patches/patch-config_cf_Motif_rules
2009-12-09 23:21:46 +00:00

26 lines
1.0 KiB
Plaintext

$OpenBSD: patch-config_cf_Motif_rules,v 1.1 2009/12/09 23:21:46 jasper Exp $
--- config/cf/Motif.rules.orig Sat Jan 5 16:20:49 2002
+++ config/cf/Motif.rules Thu Dec 10 00:20:05 2009
@@ -50,10 +50,10 @@ XCOMM $TOG: Motif.rules /main/8 1999/03/22 15:12:48 mg
# define MotifIsTopLevelProject NO
#endif
-/* Include the X11 project rules file. */
+#ifndef X11IsTopLevelProject
#include <X11.rules>
+#endif
-
/* Use the in-tree Motif by default. */
#ifndef UseInstalledMotif
# define UseInstalledMotif NO
@@ -698,7 +698,7 @@ clean:: @@\
#define Real_MessageCatalogRule(prefix) @@\
prefix.cat Concat(prefix,MsgCatI.h): @@\
$(RM) Concat(prefix,MsgCatI.h) prefix.cat $(MLOCSRC)/C/msg/prefix.msg @@\
- $(MKCATTOOL) Concat(prefix,MsgCatI.h) prefix.msg > $(MLOCSRC)/C/msg/prefix.msg @@\
+ $(MKCATTOOL) Concat(prefix,MsgCatI.h) prefix.msg | sed '/^[ ]*$$/d' > $(MLOCSRC)/C/msg/prefix.msg @@\
$(GENCAT) prefix.cat $(MLOCSRC)/C/msg/prefix.msg @@\
@@\
includes:: prefix.cat Concat(prefix,MsgCatI.h) @@\