summaryrefslogtreecommitdiff
path: root/games-util/joystick/files/joystick-1.8.1-optional-ffmvforce.patch
blob: 62f85aea6054763bff3a016fb14f7e0952cb3daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Keep ffmvforce separately optional given it's the only one
with an additional dependency (sdl)
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -31,3 +31,6 @@
 ifndef DISABLE_FORCEFEEDBACK
-MANPAGES	+= fftest.1 ffmvforce.1 ffset.1 ffcfstress.1
+MANPAGES	+= fftest.1 ffset.1 ffcfstress.1
+ifndef DISABLE_FFMVFORCE
+MANPAGES	+= ffmvforce.1
+endif
 endif
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -39,3 +39,6 @@
 ifndef DISABLE_FORCEFEEDBACK
-PROGRAMS	+= fftest ffmvforce ffset ffcfstress
+PROGRAMS	+= fftest ffset ffcfstress
+ifndef DISABLE_FFMVFORCE
+PROGRAMS	+= ffmvforce
+endif
 endif