Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Nov 2012 12:11:45 +0800
From:      Edward <is.a.relay@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        chifeng@gmail.com
Subject:   ports/173548: [PATCH] benchmarks/iozone: [SUMMARIZE CHANGES]
Message-ID:  <509f2586.a5d1440a.7d9e.ffff898b@mx.google.com>
Resent-Message-ID: <201211110420.qAB4K0g5073420@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?509f2586.a5d1440a.7d9e.ffff898b>