diff options
author | John Marino <marino@FreeBSD.org> | 2014-11-03 11:45:03 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-11-03 11:45:03 +0000 |
commit | 6ccc40b5d78f6361df8c8cd1b303f069a9fed436 (patch) | |
tree | 5a00a05c69657894f6ba297e3f78af7afb2a35a5 | |
parent | 4f7630ccd9e9b86b73ee5ebfc9121009f3b3b958 (diff) | |
download | ports-6ccc40b5d78f6361df8c8cd1b303f069a9fed436.tar.gz ports-6ccc40b5d78f6361df8c8cd1b303f069a9fed436.zip |
benchmarks/lmbench: Make os file more robust
It's possible that the previous fix won't work when host version
doesn't match jail version, so recreate the "os" script to ensure
that the PLIST_SUB variable and build directory always match.
Notes
Notes:
svn path=/head/; revision=372108
-rw-r--r-- | benchmarks/lmbench/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmarks/lmbench/Makefile b/benchmarks/lmbench/Makefile index 5cd4dd28c2e3..853ab774874c 100644 --- a/benchmarks/lmbench/Makefile +++ b/benchmarks/lmbench/Makefile @@ -34,6 +34,8 @@ post-extract: ${MKDIR} ${WRKSRC}/SCCS ${TOUCH} -t 199901010000 ${WRKSRC}/SCCS/s.ChangeSet cd ${WRKSRC}/scripts; ./version > ${WRKSRC}/src/bk.ver + ${ECHO} "#!${SH}" > ${WRKSRC}/scripts/os + ${ECHO} "echo ${ARCH}-${OPSYS:tl}${OSREL}" >> ${WRKSRC}/scripts/os # Clean up turds from building the library. Some systems just have # .o, some also end up with .s, so clean up both. |