Skip to content
Permalink
Browse files

texi2html: reduce number of separate places perl interp gets hardcoded

  • Loading branch information
dmacks committed Mar 10, 2018
1 parent 4b2015b commit 59c53a9275df1b949b3fc717711441dac3fa7379
Showing with 6 additions and 11 deletions.
  1. +6 −11 10.9-libcxx/stable/main/finkinfo/text/texi2html.info
@@ -20,15 +20,8 @@ InfoTest: <<
text-unidecode-pm
<<
TestScript: <<
#!/bin/sh -ev
. %p/sbin/fink-buildenv-helper.sh
if [ $DARWIN_MAJOR_VERSION -ge 14 ] ; then
# Test harness calls unpathed perl
mkdir %b/perl_bin
ln -s /usr/bin/perl5.16 %b/perl_bin/perl
export PATH=%b/perl_bin:$PATH
fi
make check || exit 2
# perl interp set during autoconf during tests
make check TESTS_ENVIRONMENT='PERL_INTERP=$(PERL)' || exit 2
<<
<<
ConfigureParams: --mandir=%p/share/man --infodir=%p/share/info
@@ -38,15 +31,17 @@ PatchScript: <<
perl -pi -e 's|mktemp -p /tmp|mktemp |g' test/run_test.sh
perl -pi -e 's|mktemp -p /tmp|mktemp |g' test/many_input_files/tex_l2h.sh
perl -pi -e 's|mktemp -p /tmp|mktemp |g' test/many_input_files/tex_t4ht.sh
# allow passing of perl interp to use during tests (needs to be 5.16)
find test -name \*.sh | xargs perl -pi -e 's/perl -w -x /\$PERL_INTERP -w -x /'
<<
CompileScript: <<
#!/bin/sh -ev
. %p/sbin/fink-buildenv-helper.sh
if [ $DARWIN_MAJOR_VERSION -ge 14 ] ; then
# texi2html has known compatibility issues with perl 5.18
PERL=/usr/bin/perl5.16 ./configure %c
./configure %c PERL=/usr/bin/perl5.16.2
else
PERL=/usr/bin/perl ./configure %c
./configure %c PERL=/usr/bin/perl
fi
# echo '#define DEFAULT_INFOPATH "%p/share/info:%p/info:/usr/local/share/info:/usr/local/lib/info:/usr/local/info:/usr/share/info:."' >>config.h
make

0 comments on commit 59c53a9

Please sign in to comment.
You can’t perform that action at this time.