mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Specify TMPDIR and RESULTDIR outside the /usr tree, or a R/O /usr will
prevent the tests from running.
This commit is contained in:
parent
2d1df8b704
commit
1da350ced8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=2598
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user