texlive-20120701-vine.patch 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. diff -du texlive-20120701-source/Build.vine texlive-20120701-source/Build
  2. --- texlive-20120701-source/Build.vine 2012-04-12 07:56:52.000000000 +0900
  3. +++ texlive-20120701-source/Build 2012-09-17 17:17:19.586568491 +0900
  4. @@ -109,7 +109,27 @@
  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. Mon Sep 17 17:19:31 2012