diff options
Diffstat (limited to 'app-misc/spacenavd/files/spacenavd-0.5-destdir.patch')
-rw-r--r-- | app-misc/spacenavd/files/spacenavd-0.5-destdir.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app-misc/spacenavd/files/spacenavd-0.5-destdir.patch b/app-misc/spacenavd/files/spacenavd-0.5-destdir.patch new file mode 100644 index 0000000..5b23722 --- /dev/null +++ b/app-misc/spacenavd/files/spacenavd-0.5-destdir.patch @@ -0,0 +1,16 @@ +diff -Npur spacenavd-0.5.orig/Makefile.in spacenavd-0.5/Makefile.in +--- spacenavd-0.5.orig/Makefile.in 2011-11-16 21:43:53.210859753 +0100 ++++ spacenavd-0.5/Makefile.in 2011-11-16 21:45:36.386857932 +0100 +@@ -24,9 +24,9 @@ clean: + + .PHONY: install + install: $(bin) +- $(INSTALL) -d $(PREFIX)/bin +- $(INSTALL) -m 755 $(bin) $(PREFIX)/bin/$(bin) +- $(INSTALL) -m 755 $(srcdir)/$(ctl) $(PREFIX)/bin/$(ctl) ++ $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin ++ $(INSTALL) -m 755 $(bin) $(DESTDIR)$(PREFIX)/bin/$(bin) ++ $(INSTALL) -m 755 $(srcdir)/$(ctl) $(DESTDIR)$(PREFIX)/bin/$(ctl) + cd $(srcdir) && ./setup_init --no-install + + # [ -d /etc/hal/fdi/policy ] && \ |