patch-configure 953 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- bitlbee-1.2.3.orig/configure 2008-09-06 14:33:13.000000000 +0200
  3. +++ bitlbee-1.2.3/configure 2008-10-08 16:07:32.000000000 +0200
  4. @@ -19,7 +19,6 @@ libevent='/usr/'
  5. pidfile='/var/run/bitlbee.pid'
  6. ipcsocket='/var/run/bitlbee.sock'
  7. pcdir='$prefix/lib/pkgconfig'
  8. -systemlibdirs="/lib /usr/lib /usr/local/lib"
  9. msn=1
  10. jabber=1
  11. @@ -137,12 +136,8 @@ EOF
  12. if [ -n "$target" ]; then
  13. - PKG_CONFIG_LIBDIR=/usr/$target/lib/pkgconfig
  14. - export PKG_CONFIG_LIBDIR
  15. - PATH=/usr/$target/bin:$PATH
  16. - CC=$target-cc
  17. + CC=$target-gcc
  18. LD=$target-ld
  19. - systemlibdirs="/usr/$target/lib"
  20. fi
  21. @@ -348,14 +343,6 @@ fi;
  22. echo 'SSL_CLIENT=ssl_'$ssl'.o' >> Makefile.settings
  23. -for i in $systemlibdirs; do
  24. - if [ -f $i/libresolv.a ]; then
  25. - echo '#define HAVE_RESOLV_A' >> config.h
  26. - echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings
  27. - break
  28. - fi
  29. -done
  30. -
  31. STORAGES="text xml"
  32. if [ "$ldap" = "auto" ]; then