patch-configure 903 B

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