aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vdr-plugin-markad/files/patch-plugin-markad.cpp
blob: 3bafd37e0f4b0bdf5e59e91f95145c8fa6a97f00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/plugin/markad.cpp
+++ b/plugin/markad.cpp
@@ -15,8 +15,16 @@
 
 #include "markad.h"
 
+#ifdef PREFIX
+#define DEF_BINDIR PREFIX "/bin"
+#else
 #define DEF_BINDIR "/usr/bin"
+#endif
+#ifdef DATADIR
+#define DEF_LOGODIR DATADIR "/logos"
+#else
 #define DEF_LOGODIR "/var/lib/markad"
+#endif
 
 cPluginMarkAd::cPluginMarkAd(void)
 {