id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 503,Changes to setup.py to workaround broken boost packages,pscott@…,markybob,"To package {{{deluge=1.0.0}}} for Foresight I needed to change {{{setup.py}}} to workaround a broken boost package. The changes made could help other packagers build Deluge. Firstly {{{/usr/lib/libboost_filesystem.so}}} only exists when building for x86, for x86_64 it is in {{{/usr/lib64}}}, I suggest changing the logic to use {{{LIBDIR}}} rather than {{{/usr/lib}}} explicitly. Secondly all the boost libraries *except* {{{boost_thread}}} are available as both -mt and non -mt. To workaround that I changed it explicitly in {{{_libraries}}}. However combined with the first problem however this failed unexpectedly building for both arches - it tried to use {{{boost_thread-mt-mt}}}. So I added a further check before appending -mt.",bug,closed,minor,,Packaging,1.0.0,Fixed,,