summaryrefslogtreecommitdiff
path: root/media-video/vdr/files/vdr-2.4.6_makefile-variables.patch
blob: 0731b91443c250960b739bb412c33a07d93d18f0 (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
we change some variables in the Makefile
for a better handling in gentoo ebuild

Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org> 2021/Feb/11
diff -Naur vdr-2.4.6.orig/Makefile vdr-2.4.6/Makefile
--- vdr-2.4.6.orig/Makefile	2020-06-27 11:13:04.000000000 +0200
+++ vdr-2.4.6/Makefile	2020-08-08 18:16:02.519719542 +0200
@@ -65,7 +65,7 @@
 
 # Output control
 
-ifdef VERBOSE
+ifeq ($(VERBOSE),1)
 Q =
 else
 Q = @
@@ -100,7 +100,7 @@
 ifdef HDRDIR
 HDRDIR   := -I$(HDRDIR)
 endif
-ifndef NO_KBD
+ifeq ($(USE_KBD),1)
 DEFINES += -DREMOTE_KBD
 endif
 ifdef REMOTE
@@ -109,12 +109,12 @@
 ifdef VDR_USER
 DEFINES += -DVDR_USER=\"$(VDR_USER)\"
 endif
-ifdef BIDI
+ifeq ($(BIDI),1)
 INCLUDES += $(shell $(PKG_CONFIG) --cflags fribidi)
 DEFINES += -DBIDI
 LIBS += $(shell $(PKG_CONFIG) --libs fribidi)
 endif
-ifdef SDNOTIFY
+ifeq ($(SDNOTIFY),1)
 INCLUDES += $(shell $(PKG_CONFIG) --silence-errors --cflags libsystemd-daemon || $(PKG_CONFIG) --cflags libsystemd)
 DEFINES += -DSDNOTIFY
 LIBS += $(shell $(PKG_CONFIG) --silence-errors --libs libsystemd-daemon || $(PKG_CONFIG) --libs libsystemd)