|
|
@@ -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 |
|
|
|