diff options
author | Stefan Eßer <se@FreeBSD.org> | 1996-01-03 00:06:21 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 1996-01-03 00:06:21 +0000 |
commit | 1da350ced8268df7763a81ec55f61c7ce229be34 (patch) | |
tree | 8a6ab3bf2a93d519d9aa777b9a2e557cfd07bbfa /benchmarks/unixbench | |
parent | 2d1df8b704869fdaccff1dbb82efec8879b1ef0d (diff) | |
download | ports-1da350ced8268df7763a81ec55f61c7ce229be34.tar.gz ports-1da350ced8268df7763a81ec55f61c7ce229be34.zip |
Specify TMPDIR and RESULTDIR outside the /usr tree, or a R/O /usr will
prevent the tests from running.
Notes
Notes:
svn path=/head/; revision=2598
Diffstat (limited to 'benchmarks/unixbench')
-rw-r--r-- | benchmarks/unixbench/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/benchmarks/unixbench/Makefile b/benchmarks/unixbench/Makefile index 8f198db74601..98a5fc4ba822 100644 --- a/benchmarks/unixbench/Makefile +++ b/benchmarks/unixbench/Makefile @@ -17,8 +17,20 @@ do-install: -mkdir -p $(PREFIX)/lib/bytebench for f in Makefile README Run doc pgms results testdir; \ do cp -R $(WRKSRC)/$$f $(PREFIX)/lib/bytebench; done - echo "!#/bin/sh" > $(PREFIX)/bin/bytebench - echo "$(PREFIX)/lib/bytebench/Run" >> $(PREFIX)/bin/bytebench + echo "#!/bin/sh" > $(PREFIX)/bin/bytebench + echo "TMPDIR=/var/tmp" >> $(PREFIX)/bin/bytebench + echo "RESULTDIR=/tmp" >> $(PREFIX)/bin/bytebench + echo "export TMPDIR RESULTDIR" >> $(PREFIX)/bin/bytebench + echo "cd $(PREFIX)/lib/bytebench" >> $(PREFIX)/bin/bytebench + echo "exec ./Run" >> $(PREFIX)/bin/bytebench chmod 755 $(PREFIX)/bin/bytebench + chmod 644 $(PREFIX)/lib/bytebench/Makefile + chmod 644 $(PREFIX)/lib/bytebench/README + chmod 755 $(PREFIX)/lib/bytebench/Run + chmod 755 $(PREFIX)/lib/bytebench/doc + chmod 755 $(PREFIX)/lib/bytebench/pgms + chmod 755 $(PREFIX)/lib/bytebench/pgms/* + chmod 755 $(PREFIX)/lib/bytebench/results + chmod 755 $(PREFIX)/lib/bytebench/testdir .include <bsd.port.mk> |