FIXUPHACK 827 B

12345678910111213141516171819202122232425
  1. ##hack for slackware 13.1: i compiled mplayer against a later libcdio...
  2. #[ -e usr/lib/libcdio.so.7 ] && ln -s libcdio.so.7 usr/lib/libcdio.so.12
  3. #[ -e usr/lib/libiso9660.so.5 ] && ln -s libiso9660.so.5 usr/lib/libiso9660.so.7
  4. #hack for debian squeezy...
  5. LIBCDIOEXIST="`find usr/lib -maxdepth 1 -name 'libcdio.so.*' | head -n 1`"
  6. BASEEXIST="`basename $LIBCDIOEXIST`"
  7. if [ ! -e usr/lib/libcdio.so.7 ];then
  8. ln -s $BASEEXIST usr/lib/libcdio.so.7
  9. fi
  10. if [ ! -e usr/lib/libcdio.so.12 ];then
  11. ln -s $BASEEXIST usr/lib/libcdio.so.12
  12. fi
  13. #120907
  14. LIB9660EXIST="`find usr/lib -maxdepth 1 -name 'libiso9660.so.*' | head -n 1`"
  15. BASEEXIST="`basename $LIB9660EXIST`"
  16. if [ ! -e usr/lib/libiso9660.so.7 ];then
  17. ln -s $BASEEXIST usr/lib/libiso9660.so.7
  18. fi
  19. if [ ! -e usr/lib/libiso9660.so.5 ];then
  20. ln -s $BASEEXIST usr/lib/libiso9660.so.5
  21. fi