
This PR fixes the case where groff fails to build if the spack install path is really long. There are a couple of perl scripts that get built, and used, during the build phase that will fail when the perl interpreter line is too long. Filtering the lines will not work because the files don not exist after the configure phase and patching after the build phase is too late. This PR runs the scripts explicitly with the spack perl via the $(PERL) variable in the call to the script.
12 lines
396 B
Diff
12 lines
396 B
Diff
--- a/contrib/mom/Makefile.sub 2014-11-04 02:38:35.502520534 -0600
|
|
+++ b/contrib/mom/Makefile.sub 2021-02-08 14:51:57.131553432 -0600
|
|
@@ -41,7 +41,7 @@
|
|
GROFF_COMMAND_PREFIX= \
|
|
GROFF_BIN_PATH="$(GROFF_BIN_PATH)" \
|
|
PDFMOM_BIN_PATH="$(top_builddir)/src/devices/gropdf" \
|
|
- $(PDFMOMBIN) $(FFLAG) $(TFLAG) $(KFLAG)
|
|
+ $(PERL) $(PDFMOMBIN) $(FFLAG) $(TFLAG) $(KFLAG)
|
|
|
|
MAN7=\
|
|
groff_mom.n
|