ports/173548: [PATCH] benchmarks/iozone: [SUMMARIZE CHANGES]
Edward
is.a.relay at gmail.com
Sun Nov 11 04:20:01 UTC 2012
>Number: 173548
>Category: ports
>Synopsis: [PATCH] benchmarks/iozone: [SUMMARIZE CHANGES]
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Nov 11 04:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Edward
>Release: FreeBSD 8.3-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD optionsng 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr 9 21:23:18 UTC
>Description:
[DESCRIBE CHANGES]
- Update to use OPTIONSNG
- Trim Makefile header
Port maintainer (chifeng at gmail.com) is cc'd.
Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
begin 644 iozone-3.397.patch
--- Makefile.original 2012-10-31 00:10:17.000000000 +0800
+++ Makefile 2012-11-11 12:02:52.000000000 +0800
@@ -1,9 +1,5 @@
-# New ports collection makefile for: iozone
-# Date created: 26 September 1994
-# Whom: jmz
-#
-# $FreeBSD: ports/benchmarks/iozone/Makefile,v 1.62 2012/01/14 19:11:38 miwi Exp $
-#
+# Created by: jmz
+# $FreeBSD$
PORTNAME= iozone
PORTVERSION= 3.397
@@ -27,19 +23,22 @@
MAN1= iozone.1
PLIST_FILES= bin/iozone
-OPTIONS= THREADS "Enable threading (uses pthreads)" on \
- SSH "Use ssh in distributed measurement" on
+OPTIONS_DEFINE= SSH THREADS
+OPTIONS_DEFAULT= SSH THREADS
+
+SSH_DESC= Use ssh in distributed measurement
+THREADS_DESC= Enable threading (uses pthreads)
.include <bsd.port.pre.mk>
-.if defined (WITH_THREADS)
+.if ${PORT_OPTIONS:MTHREADS}
CFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
.else
CFLAGS+=-DNO_THREADS
.endif
-.if defined (WITH_SSH)
+.if ${PORT_OPTIONS:MSSH}
post-patch::
@${REINPLACE_CMD} -e 's|shell\,\"rsh\"|shell\,\"ssh\"|' ${WRKSRC}/iozone.c
.endif
end
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list