1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

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.
This commit is contained in:
Bill Fenner 2005-10-26 16:32:55 +00:00
parent 46ebd3dec6
commit 8702edcd6c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146425
2 changed files with 6 additions and 10 deletions

View File

@ -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

View File

@ -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