$NetBSD: patch-ad,v 1.1.1.1 2009/01/31 03:04:37 ahoka Exp $ --- pokerth_server.pro.orig 2009-01-31 00:19:52.000000000 +0100 +++ pokerth_server.pro @@ -163,44 +163,8 @@ unix : !mac { LIBPATH += lib - LIB_DIRS = $${PREFIX}/lib $${PREFIX}/lib64 - BOOST_FS = boost_filesystem boost_filesystem-mt - BOOST_THREAD = boost_thread boost_thread-mt - BOOST_PROGRAM_OPTIONS = boost_program_options boost_program_options-mt - BOOST_IOSTREAMS = boost_iostreams boost_iostreams-mt - - for(dir, LIB_DIRS){ - exists($$dir){ - for(lib, BOOST_THREAD){ - exists($${dir}/lib$${lib}.so*){ - message("Found $$lib") - BOOST_THREAD = -l$$lib - } - } - for(lib, BOOST_FS){ - exists($${dir}/lib$${lib}.so*){ - message("Found $$lib") - BOOST_FS = -l$$lib - } - } - for(lib, BOOST_PROGRAM_OPTIONS){ - exists($${dir}/lib$${lib}.so*){ - message("Found $$lib") - BOOST_PROGRAM_OPTIONS = -l$$lib - } - } - for(lib, BOOST_IOSTREAMS){ - exists($${dir}/lib$${lib}.so*){ - message("Found $$lib") - BOOST_IOSTREAMS = -l$$lib - } - } - } - } - BOOST_LIBS = $$BOOST_THREAD $$BOOST_FS $$BOOST_PROGRAM_OPTIONS $$BOOST_IOSTREAMS - !count(BOOST_LIBS, 4){ - error( libboost (version >= 1.34.1) --> http://www.boost.org/") - } + LIBS += -lboost_filesystem-mt -lboost_thread-mt + LIBS += -lboost_program_options-mt -lboost_iostreams-mt UNAME = $$system(uname -s) BSD = $$find(UNAME, "BSD")