You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-util/joystick/files/joystick-1.4.7-build.patch

40 lines
998 B

--- linuxconsoletools-1.4.4.orig/docs/Makefile
+++ linuxconsoletools-1.4.4/docs/Makefile
@@ -20,13 +20,17 @@
# 02110-1301 USA.
MANPAGES = inputattach.1 jstest.1 jscal.1 fftest.1 \
- ffmvforce.1 ffset.1 ffcfstress.1 jscal-store.1 \
+ ffset.1 ffcfstress.1 jscal-store.1 \
jscal-restore.1
+ifneq ($(USE_SDL),no)
+MANPAGES += ffmvforce.1
+endif
+
PREFIX ?= /usr/local
install:
install -d $(DESTDIR)$(PREFIX)/share/man/man1
- install $(MANPAGES) $(DESTDIR)$(PREFIX)/share/man/man1
+ install -m 644 $(MANPAGES) $(DESTDIR)$(PREFIX)/share/man/man1
.PHONY: install
--- linuxconsoletools-1.4.4.orig/utils/Makefile
+++ linuxconsoletools-1.4.4/utils/Makefile
@@ -27,9 +27,13 @@
CFLAGS ?= -g -O2 -Wall
-PROGRAMS = inputattach jstest jscal fftest ffmvforce ffset \
+PROGRAMS = inputattach jstest jscal fftest ffset \
ffcfstress jscal-restore jscal-store
+ifneq ($(USE_SDL),no)
+PROGRAMS += ffmvforce
+endif
+
PREFIX ?= /usr/local
compile: $(PROGRAMS)