summaryrefslogtreecommitdiff
path: root/package/rt-tests
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-04-19 19:37:55 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-04-19 19:37:55 +0200
commitdf940cfc9ea35b7f547297a98f4abda6e5b6a9a2 (patch)
tree2b88a1558dd107abdf8cb8bcdea111b4b7d281b8 /package/rt-tests
parentdfd8db8dec0870dbe7f0ac512854a6d3650c88c9 (diff)
rt-tests: fix install on Darwin
Diffstat (limited to 'package/rt-tests')
-rw-r--r--package/rt-tests/patches/patch-Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/rt-tests/patches/patch-Makefile b/package/rt-tests/patches/patch-Makefile
new file mode 100644
index 000000000..dc5f88854
--- /dev/null
+++ b/package/rt-tests/patches/patch-Makefile
@@ -0,0 +1,12 @@
+--- rt-tests-bddffd32c9483318fe72d02183981bdcf006d9dc.orig/Makefile 2016-10-22 10:20:57.000000000 +0200
++++ rt-tests-bddffd32c9483318fe72d02183981bdcf006d9dc/Makefile 2017-04-18 19:02:23.000000000 +0200
+@@ -166,7 +166,8 @@ install: all install_hwlatdetect
+ mkdir -p "$(DESTDIR)$(bindir)" "$(DESTDIR)$(mandir)/man4"
+ mkdir -p "$(DESTDIR)$(srcdir)" "$(DESTDIR)$(mandir)/man8"
+ cp $(TARGETS) "$(DESTDIR)$(bindir)"
+- install -D -m 644 src/backfire/backfire.c "$(DESTDIR)$(srcdir)/backfire/backfire.c"
++ mkdir -p "$(DESTDIR)$(srcdir)/backfire"
++ install -m 644 src/backfire/backfire.c "$(DESTDIR)$(srcdir)/backfire/backfire.c"
+ install -m 644 src/backfire/Makefile "$(DESTDIR)$(srcdir)/backfire/Makefile"
+ gzip -c src/backfire/backfire.4 >"$(DESTDIR)$(mandir)/man4/backfire.4.gz"
+ gzip -c src/cyclictest/cyclictest.8 >"$(DESTDIR)$(mandir)/man8/cyclictest.8.gz"