3c05916
From 7ac1dda09bf5241aca7c09af5fac5c173a6ea653 Mon Sep 17 00:00:00 2001
0cfe294
From: hannes <hannes@fedoraproject.org>
3c05916
Date: Tue, 9 Sep 2014 20:27:22 +0200
3c05916
Subject: [PATCH] hunspell_patch
johannes lips b146856
johannes lips b146856
---
4c19c3c
 texstudio.pro | 9 +++++++--
4c19c3c
 1 file changed, 7 insertions(+), 2 deletions(-)
johannes lips b146856
33d44b1
diff --git a/texstudio.pro b/texstudio.pro
3c05916
index 4f778dd..e125fef 100644
ccd6cf0
--- a/texstudio.pro
ccd6cf0
+++ b/texstudio.pro
3c05916
@@ -466,7 +466,7 @@ unix {
33d44b1
 }
33d44b1
 
ccd6cf0
 DEFINES += HUNSPELL_STATIC
33d44b1
-include(hunspell/hunspell.pri)
33d44b1
+include(hunspell.pri)
33d44b1
 
33d44b1
 include(qcodeedit/qcodeedit.pri)
33d44b1
 
3c05916
@@ -672,4 +672,9 @@ else {
eabaaa2
   QMAKE_LFLAGS -= -Wl,-s
eabaaa2
   QMAKE_LFLAGS_RELEASE -= -Wl,-s
eabaaa2
 }
ccd6cf0
-
3c05916
+# enable use of pkgconfig



3c05916
+unix {



3c05916
+	CONFIG	+= link_pkgconfig



3c05916
+	# use system hunspell



3c05916
+	PKGCONFIG += hunspell



3c05916
+}



johannes lips b146856
-- 
df79cf6
1.9.3
johannes lips b146856