patch-configure 751 B

12345678910111213141516171819202122232425
  1. --- bitlbee-3.0.1.orig/configure 2010-11-24 23:44:00.000000000 +0100
  2. +++ bitlbee-3.0.1/configure 2011-03-03 22:36:43.000000000 +0100
  3. @@ -171,12 +171,9 @@ EOF
  4. if [ -n "$target" ]; then
  5. - PKG_CONFIG_LIBDIR=/usr/$target/lib/pkgconfig
  6. - export PKG_CONFIG_LIBDIR
  7. PATH=/usr/$target/bin:$PATH
  8. - CC=$target-cc
  9. + CC=$target-gcc
  10. LD=$target-ld
  11. - systemlibdirs="/usr/$target/lib"
  12. fi
  13. @@ -225,7 +222,7 @@ if [ -z "$PKG_CONFIG" ]; then
  14. PKG_CONFIG=pkg-config
  15. fi
  16. -if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG glib-2.0; then
  17. +if $PKG_CONFIG --version && $PKG_CONFIG glib-2.0; then
  18. if $PKG_CONFIG glib-2.0 --atleast-version=$GLIB_MIN_VERSION; then
  19. cat<<EOF>>Makefile.settings
  20. EFLAGS+=`$PKG_CONFIG --libs glib-2.0 gmodule-2.0`