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.
This commit is contained in:
parent
4f7630ccd9
commit
6ccc40b5d7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372108
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user