summaryrefslogtreecommitdiff
path: root/textproc/goldendict/files/patch-goldendict.pro
blob: 4f7442d0666fafba63ef7c580a4225c7f429d9d1 (plain) (blame)
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
--- ./goldendict.pro.orig	2010-12-04 00:12:46.000000000 +0300
+++ ./goldendict.pro	2010-12-28 11:46:37.207723741 +0300
@@ -58,12 +58,12 @@
 	ogg \
 	hunspell
     LIBS += -lX11 \
-        -lXtst
+        -lXtst -lexecinfo
     PREFIX = $$(PREFIX)
     isEmpty( PREFIX ):PREFIX = /usr/local
-    DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/apps/goldendict/\\\"
+    DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/goldendict/\\\"
     target.path = $$PREFIX/bin/
-    locale.path = $$PREFIX/share/apps/goldendict/locale/
+    locale.path = $$PREFIX/share/goldendict/locale/
     locale.files = locale/*.qm
     INSTALLS += target \
         locale
@@ -72,13 +72,15 @@
     INSTALLS += icons
     icons2.path = $$PREFIX/share/app-install/icons
     icons2.files = redist/icons/*.*
-    INSTALLS += icons2
+    # we don't use icons2 directory at FreeBSD
+    #INSTALLS += icons2
     desktops.path = $$PREFIX/share/applications
     desktops.files = redist/*.desktop
     INSTALLS += desktops
     desktops2.path = $$PREFIX/share/app-install/desktop
     desktops2.files = redist/*.desktop
-    INSTALLS += desktops2
+    # we don't use desktop2 directory at FreeBSD
+    #INSTALLS += desktops2
 }
 DEFINES += PROGRAM_VERSION=\\\"$$VERSION\\\"