freebsd-ports/textproc/source-highlight/files/patch-tests_Makefile.in
Kevin Lo c2e7736bed Fix the run dependency and install the bash completion file.
PR:	212154
Submitted by:	Tobias Kortkamp <t@tobik.me>
2016-08-26 01:02:36 +00:00

11 lines
993 B
Text

--- tests/Makefile.in.orig 2016-08-25 16:54:10 UTC
+++ tests/Makefile.in
@@ -2108,7 +2108,7 @@ check_defaults:
@NO_CTAGS_FALSE@ sed -itesttmp -e 's/\_tmp\.h/\.h/g' test_refs_tmp.h.html test_refs_tmp.cpp.html
@NO_CTAGS_FALSE@ sed -itesttmp -e 's/\_tmp\.cpp/\.cpp/g' test_refs_tmp.h.html test_refs_tmp.cpp.html
@NO_CTAGS_FALSE@ $(CPP2LATEX_WREFS) -i $(srcdir)/test.h -o test_ref.out.tex $(CTAGS_COMMAND_TMP)
-@NO_CTAGS_FALSE@ sed -itesttmp -r 's/([.\/[:alnum:]]+)\/(test\.h\:[[:alnum:]\._]+)/\2/g' test_ref.out.tex # eliminate leading paths
+@NO_CTAGS_FALSE@ sed -itesttmp -E 's/([.\/[:alnum:]]+)\/(test\.h\:[[:alnum:]\._]+)/\2/g' test_ref.out.tex # eliminate leading paths
@NO_CTAGS_FALSE@ $(CPP2LATEX_WREFSPOST) -i $(srcdir)/test.h -o test_ref_post.out.tex $(CTAGS_COMMAND_TMP)
@NO_CTAGS_FALSE@ sed -itesttmp -f $(srcdir)/erasedir3.sed test_ref_post.out.tex # eliminate leading paths
@NO_CTAGS_FALSE@ $(CPP2TEXINFO_WREFS) -i $(srcdir)/test.h -o test_ref.out.texinfo $(CTAGS_COMMAND_TMP)