diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-08 21:15:28 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-08 21:15:28 +0000 |
commit | 2fab0630c9ed812c0363c2da643c1f76fe995a58 (patch) | |
tree | 76706a7e64e0d608ac9e82b01293940e6d61e105 /benchmarks | |
parent | Fix build on 8.3 due to tcp.h not properly (diff) |
- Support staging
- Add STATIC option
(inspired by commented out CFLAGS+=-static)
Notes
Notes:
svn path=/head/; revision=343389
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/bonnie/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/benchmarks/bonnie/Makefile b/benchmarks/bonnie/Makefile index 5baa622c7b29..085563d007f1 100644 --- a/benchmarks/bonnie/Makefile +++ b/benchmarks/bonnie/Makefile @@ -13,15 +13,18 @@ MAINTAINER= kuriyama@FreeBSD.org COMMENT= Performance Test of Filesystem I/O NO_WRKSUBDIR= yes -#CFLAGS+= -static MAKE_ARGS+= -e CFLAGS="${CFLAGS}" ALL_TARGET= bsd -MAN1= bonnie.1 -PLIST_FILES= bin/bonnie +PLIST_FILES= bin/bonnie man/man1/bonnie.1.gz + +OPTIONS_DEFINE= STATIC + +STATIC_CFLAGS+= -static + +.include <bsd.port.options.mk> -NO_STAGE= yes do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/Bonnie ${PREFIX}/bin/bonnie - ${INSTALL_MAN} ${FILESDIR}/bonnie.1 ${PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/Bonnie ${STAGEDIR}${PREFIX}/bin/bonnie + ${INSTALL_MAN} ${FILESDIR}/bonnie.1 ${STAGEDIR}${PREFIX}/man/man1 .include <bsd.port.mk> |