summaryrefslogtreecommitdiff
path: root/games/pokerth/patches/patch-aa
blob: 8c15832d947624dcbe106a85b092c66618c96fa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
$NetBSD: patch-aa,v 1.1.1.1 2009/01/31 03:04:37 ahoka Exp $

--- pokerth_game.pro.orig	2009-01-04 00:18:19.000000000 +0100
+++ pokerth_game.pro
@@ -319,38 +319,7 @@ 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_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_IOSTREAMS){
-                    exists($${dir}/lib$${lib}.so*){
-                        message("Found $$lib")
-                        BOOST_IOSTREAMS = -l$$lib
-                    }
-                }
-            }
-        }
-        BOOST_LIBS = $$BOOST_THREAD $$BOOST_FS $$BOOST_IOSTREAMS
-        !count(BOOST_LIBS, 3){
-            error("libboost (version >= 1.34.1)  --> http://www.boost.org/")
-        }
+        LIBS += -lboost_filesystem-mt -lboost_thread-mt -lboost_iostreams-mt
 
         if($$system(sdl-config --version)){
             error("libSDL_mixer, libSDL --> http://www.libsdl.org/")