diff options
author | marino <marino@FreeBSD.org> | 2014-11-03 19:45:03 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-11-03 19:45:03 +0800 |
commit | a890841b30b54fec6638d2ab04d1de95a167b80b (patch) | |
tree | 5a00a05c69657894f6ba297e3f78af7afb2a35a5 /benchmarks/lmbench | |
parent | 5292c21121321e13172e226f9340e2311857fbae (diff) | |
download | freebsd-ports-gnome-a890841b30b54fec6638d2ab04d1de95a167b80b.tar.gz freebsd-ports-gnome-a890841b30b54fec6638d2ab04d1de95a167b80b.tar.zst freebsd-ports-gnome-a890841b30b54fec6638d2ab04d1de95a167b80b.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.
Diffstat (limited to 'benchmarks/lmbench')
-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. |