texlive-20110705-vine.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. diff -up texlive-2011/build/texlive-20110705-source/Build\~ texlive-2011/build/texlive-20110705-source/Build
  2. --- texlive-2011/build/texlive-20110705-source/Build~ 2011-06-21 08:15:42.000000000 +0900
  3. +++ texlive-2011/build/texlive-20110705-source/Build 2011-11-13 21:17:20.163028036 +0900
  4. @@ -100,7 +100,27 @@ cd $TL_WORKDIR || exit 1
  5. $TL_CONF_XDVI_TOOLKIT \
  6. $TL_CONFIGURE_ARGS \
  7. "$@" \
  8. - && eval $TL_BUILD_ENV time $TL_MAKE $TL_MAKE_FLAGS $TL_TARGET
  9. + || exit 1
  10. +
  11. + (cd ..
  12. + ## Avoid pollution from internal libraries.
  13. + rm -rf ./libs/{expat,freetype2,gd,jpeg,libpng,libttf,ncurses,type1,t1lib,unzip,xpdf,zlib} || exit 1
  14. + ## XXX Hacks to avoid accidental version clashs with system libraries.
  15. + hack_libs=(
  16. + zlib
  17. + libpng
  18. + t1lib
  19. + freetype2
  20. + gd
  21. + xpdf
  22. + )
  23. + for i in "${hack_libs[@]}"; do
  24. + mkdir -p ./libs/${i}
  25. + touch ./libs/${i}/configure
  26. + done
  27. + )
  28. +
  29. + eval $TL_BUILD_ENV time $TL_MAKE $TL_MAKE_FLAGS $TL_TARGET
  30. # Too arcane to try to propagate the exit status through a pipeline.
  31. # Just use a temp file.
  32. Diff finished. Sun Nov 13 21:17:25 2011