aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
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
parent46ebd3dec63b05b35be2b815307c44a5381917fd (diff)
downloadports-8702edcd6c54082eb0ec3358f73de20590d9dbf9.tar.gz
ports-8702edcd6c54082eb0ec3358f73de20590d9dbf9.zip
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/lmbench/Makefile7
-rw-r--r--benchmarks/lmbench/pkg-plist9
2 files changed, 6 insertions, 10 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
diff --git a/benchmarks/lmbench/pkg-plist b/benchmarks/lmbench/pkg-plist
index ab656e835c22..c94004446b72 100644
--- a/benchmarks/lmbench/pkg-plist
+++ b/benchmarks/lmbench/pkg-plist
@@ -1,13 +1,4 @@
lib/lmbench/Makefile
-lib/lmbench/bin/%%LMBENCH_OS%%/lib_tcp.o
-lib/lmbench/bin/%%LMBENCH_OS%%/lib_udp.o
-lib/lmbench/bin/%%LMBENCH_OS%%/lib_unix.o
-lib/lmbench/bin/%%LMBENCH_OS%%/lib_timing.o
-lib/lmbench/bin/%%LMBENCH_OS%%/lib_mem.o
-lib/lmbench/bin/%%LMBENCH_OS%%/lib_stats.o
-lib/lmbench/bin/%%LMBENCH_OS%%/lib_debug.o
-lib/lmbench/bin/%%LMBENCH_OS%%/getopt.o
-lib/lmbench/bin/%%LMBENCH_OS%%/lib_sched.o
lib/lmbench/bin/%%LMBENCH_OS%%/lmbench.a
lib/lmbench/bin/%%LMBENCH_OS%%/bw_file_rd
lib/lmbench/bin/%%LMBENCH_OS%%/bw_mem