summaryrefslogtreecommitdiff
path: root/benchmarks/lmbench/Makefile
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>2005-10-26 16:32:55 +0000
committerBill Fenner <fenner@FreeBSD.org>2005-10-26 16:32:55 +0000
commit8702edcd6c54082eb0ec3358f73de20590d9dbf9 (patch)
treede7f85dee97832d9eaddfc1a79727255183d5844 /benchmarks/lmbench/Makefile
parent- Remove hardcoded X11BASE. (diff)
Use scripts/version to get the lmbench version instead of using
the port's version. Clean up leftover .o files from the build before installing. On some systems there are also .s files for no apparent reason, so clean those up too.
Notes
Notes: svn path=/head/; revision=146425
Diffstat (limited to '')
-rw-r--r--benchmarks/lmbench/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/benchmarks/lmbench/Makefile b/benchmarks/lmbench/Makefile
index b85e969fa81a..dec154c3bd51 100644
--- a/benchmarks/lmbench/Makefile
+++ b/benchmarks/lmbench/Makefile
@@ -47,7 +47,12 @@ retest: build
post-extract:
${MKDIR} ${WRKSRC}/SCCS
${TOUCH} -t 199901010000 ${WRKSRC}/SCCS/s.ChangeSet
- ${ECHO_CMD} ${DISTNAME} > ${WRKSRC}/src/bk.ver
+ cd ${WRKSRC}/scripts; ./version > ${WRKSRC}/src/bk.ver
+
+# Clean up turds from building the library. Some systems just have
+# .o, some also end up with .s, so clean up both.
+post-build:
+ @${RM} ${WRKSRC}/bin/*.[os]
pre-install:
[ -d ${PREFIX}/lib/lmbench ] || ${MKDIR} ${PREFIX}/lib/lmbench