OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../fragroute/lib64-configure-fix.diff
  5. # Copyright (C) 2006 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- ./configure.orig 2006-09-03 05:36:02.000000000 +0300
  17. +++ ./configure 2006-09-03 05:51:07.000000000 +0300
  18. @@ -1651,11 +1651,11 @@
  19. ;;
  20. *)
  21. echo "$ac_t""$withval" 1>&6
  22. - if test -f $withval/include/event.h -a -f $withval/lib/libevent.a; then
  23. + if test -f $withval/include/event.h -a -f $withval/lib64/libevent.a ; then
  24. owd=`pwd`
  25. if cd $withval; then withval=`pwd`; cd $owd; fi
  26. EVENTINC="-I$withval/include"
  27. - EVENTLIB="-L$withval/lib -levent"
  28. + EVENTLIB="-L$withval/lib64 -levent"
  29. elif test -f $withval/event.h -a -f $withval/libevent.a; then
  30. owd=`pwd`
  31. if cd $withval; then withval=`pwd`; cd $owd; fi
  32. @@ -1667,9 +1667,9 @@
  33. ;;
  34. esac
  35. else
  36. - if test -f ${prefix}/include/event.h -a -f ${prefix}/lib/libevent.a; then
  37. + if test -f ${prefix}/include/event.h -a -f ${prefix}/lib64/libevent.a; then
  38. EVENTINC="-I${prefix}/include"
  39. - EVENTLIB="-L${prefix}/lib -levent"
  40. + EVENTLIB="-L${prefix}/lib64 -levent"
  41. else
  42. echo "$ac_t""no" 1>&6
  43. { echo "configure: error: libevent not found" 1>&2; exit 1; }