svn commit: r372108 - head/benchmarks/lmbench

John Marino marino at FreeBSD.org
Mon Nov 3 11:45:04 UTC 2014


Author: marino
Date: Mon Nov  3 11:45:03 2014
New Revision: 372108
URL: https://svnweb.freebsd.org/changeset/ports/372108
QAT: https://qat.redports.org/buildarchive/r372108/

Log:
  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.

Modified:
  head/benchmarks/lmbench/Makefile

Modified: head/benchmarks/lmbench/Makefile
==============================================================================
--- head/benchmarks/lmbench/Makefile	Mon Nov  3 11:14:34 2014	(r372107)
+++ head/benchmarks/lmbench/Makefile	Mon Nov  3 11:45:03 2014	(r372108)
@@ -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.


More information about the svn-ports-all mailing list