summaryrefslogtreecommitdiff
path: root/x11/sessreg/patches/patch-man_Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'x11/sessreg/patches/patch-man_Makefile.in')
-rw-r--r--x11/sessreg/patches/patch-man_Makefile.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11/sessreg/patches/patch-man_Makefile.in b/x11/sessreg/patches/patch-man_Makefile.in
new file mode 100644
index 00000000000..94f2907b0f4
--- /dev/null
+++ b/x11/sessreg/patches/patch-man_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-man_Makefile.in,v 1.1 2016/04/07 13:21:38 tnn Exp $
+
+Use tradcpp(1) for preprocessing sed script which is not actually C code.
+
+--- man/Makefile.in.orig 2015-01-20 05:01:38.000000000 +0000
++++ man/Makefile.in
+@@ -490,7 +490,7 @@ uninstall-am: uninstall-appmanDATA
+ .PRECIOUS: Makefile
+
+ filenames.sed: filenames.sed.c
+- $(AM_V_GEN)$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
++ $(AM_V_GEN)$(RAWCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(srcdir)/filenames.sed.c | \
+ $(SED) -n -e '/s|__/ p' -e '/^\/__/ p' > $@
+