From e860dbc1e9ce57c3c01bb3a6eee3b3d5cdec4f7c Mon Sep 17 00:00:00 2001 From: doitux Date: Thu, 9 Apr 2009 16:19:56 +0000 Subject: [PATCH] kfreebsd patch --- pokerth_game.pro | 5 +++-- pokerth_server.pro | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pokerth_game.pro b/pokerth_game.pro index 4a8765c6..0d869011 100644 --- a/pokerth_game.pro +++ b/pokerth_game.pro @@ -381,11 +381,12 @@ unix : !mac { UNAME = $$system(uname -s) BSD = $$find(UNAME, "BSD") - + kFreeBSD = $$find(UNAME, "kFreeBSD") + LIBS += -lpokerth_lib LIBS += $$BOOST_LIBS LIBS += -lSDL_mixer -lcurl - !isEmpty( BSD ){ + !isEmpty( BSD ) && isEmpty( kFreeBSD ){ LIBS += -lcrypto } else { LIBS += -lgnutls-openssl -lgcrypt diff --git a/pokerth_server.pro b/pokerth_server.pro index 68c32ff6..6eef83e2 100644 --- a/pokerth_server.pro +++ b/pokerth_server.pro @@ -214,11 +214,12 @@ unix : !mac { UNAME = $$system(uname -s) BSD = $$find(UNAME, "BSD") + kFreeBSD = $$find(UNAME, "kFreeBSD") LIBS += -lpokerth_lib LIBS += $$BOOST_LIBS LIBS += -lcurl - !isEmpty( BSD ){ + !isEmpty( BSD ) && isEmpty( kFreeBSD ){ LIBS += -lcrypto -liconv } else { LIBS += -lgnutls-openssl -lgcrypt