Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2014 21:15:28 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343389 - head/benchmarks/bonnie
Message-ID:  <201402082115.s18LFSSZ085395@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sat Feb  8 21:15:28 2014
New Revision: 343389
URL: http://svnweb.freebsd.org/changeset/ports/343389
QAT: https://qat.redports.org/buildarchive/r343389/

Log:
  - Support staging
  - Add STATIC option
    (inspired by commented out CFLAGS+=-static)

Modified:
  head/benchmarks/bonnie/Makefile

Modified: head/benchmarks/bonnie/Makefile
==============================================================================
--- head/benchmarks/bonnie/Makefile	Sat Feb  8 21:10:00 2014	(r343388)
+++ head/benchmarks/bonnie/Makefile	Sat Feb  8 21:15:28 2014	(r343389)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402082115.s18LFSSZ085395>