openbsd-ports/x11/openmotif/patches/patch-config-cf-Motif.rules
matt a521d0a427 - consolidate pre-build steps into post-patch
- eliminate XCONFIGF in Makefile to prevent multiple evaluations
- point mwm at PROJECTROOT (i.e. /usr/local) instead of XPROJECTROOT
  (i.e. /usr/X11R6) to find lib/X11/system.mwmrc
- tblize manpages
- break up patches and rename to match current convention
- prettify Makefile
2000-08-10 01:40:40 +00:00

25 lines
910 B
Plaintext

--- config/cf/Motif.rules.orig Tue May 2 11:53:43 2000
+++ config/cf/Motif.rules Wed Aug 9 19:29:43 2000
@@ -50,9 +50,10 @@
# define MotifIsTopLevelProject NO
#endif
-/* Include the X11 project rules file. */
+#ifndef X11IsTopLevelProject
+/* If we have not included X11.rules yet, do it now. */
#include <X11.rules>
-
+#endif
/* Use the in-tree Motif by default. */
#ifndef UseInstalledMotif
@@ -655,7 +656,7 @@
#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) @@\