Date: Thu, 9 May 2013 09:13:43 GMT From: "Ilya A. Arkhipov" <rum1cro@yandex.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/178446: [patch] net-mgmt/p5-Cflow: moving to optionsng Message-ID: <201305090913.r499DhV1025073@oldred.FreeBSD.org> Resent-Message-ID: <201305090920.r499K2DC098943@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 178446 >Category: ports >Synopsis: [patch] net-mgmt/p5-Cflow: moving to optionsng >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: Thu May 09 09:20:02 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Ilya A. Arkhipov >Release: 10.0-CURRENT >Organization: Rambler >Environment: FreeBSD mhome 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Thu Mar 29 18:04:50 UTC 2012 root@mhome:/usr/obj/usr/src/sys/MICROKERNEL amd64 >Description: patch for net-mgmt/p5-Cflow for moving to optionsng >How-To-Repeat: Install it >Fix: diff -Nru p5-Cflow_old/Makefile p5-Cflow/Makefile --- p5-Cflow_old/Makefile 2013-05-09 13:08:05.547706154 +0400 +++ p5-Cflow/Makefile 2013-05-09 13:09:27.183705800 +0400 @@ -1,9 +1,5 @@ -# New ports collection makefile for: p5-Cflow -# Date created: Di 13 Mär 2001 19:37:25 CET -# Whom: Andreas Klemm <andreas@klemm.gtn.com> -# -# $FreeBSD: ports/net-mgmt/p5-Cflow/Makefile,v 1.18 2012/11/17 06:00:35 svnexp Exp $ -# +# Created by: Andreas Klemm <andreas@klemm.gtn.com> +# $FreeBSD$ PORTNAME= Cflow PORTVERSION= 1.053 @@ -16,11 +12,12 @@ MAINTAINER= fw@moov.de COMMENT= Analyze raw flow files written by cflowd (Cisco NetFlow data) -OPTIONS= FLOW_TOOLS "Enable flow-tools support" off +OPTIONS_DEFINE= FLOW_TOOLS +FLOW_TOOLS_DESC= Enable flow-tools support .include <bsd.port.pre.mk> -.if defined(WITH_FLOW_TOOLS) +.if ${PORT_OPTIONS:MFLOW_TOOLS} BUILD_DEPENDS+= ${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools RUN_DEPENDS+= ${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools Patch attached with submission follows: diff -Nru p5-Cflow_old/Makefile p5-Cflow/Makefile --- p5-Cflow_old/Makefile 2013-05-09 13:08:05.547706154 +0400 +++ p5-Cflow/Makefile 2013-05-09 13:09:27.183705800 +0400 @@ -1,9 +1,5 @@ -# New ports collection makefile for: p5-Cflow -# Date created: Di 13 Mär 2001 19:37:25 CET -# Whom: Andreas Klemm <andreas@klemm.gtn.com> -# -# $FreeBSD: ports/net-mgmt/p5-Cflow/Makefile,v 1.18 2012/11/17 06:00:35 svnexp Exp $ -# +# Created by: Andreas Klemm <andreas@klemm.gtn.com> +# $FreeBSD$ PORTNAME= Cflow PORTVERSION= 1.053 @@ -16,11 +12,12 @@ MAINTAINER= fw@moov.de COMMENT= Analyze raw flow files written by cflowd (Cisco NetFlow data) -OPTIONS= FLOW_TOOLS "Enable flow-tools support" off +OPTIONS_DEFINE= FLOW_TOOLS +FLOW_TOOLS_DESC= Enable flow-tools support .include <bsd.port.pre.mk> -.if defined(WITH_FLOW_TOOLS) +.if ${PORT_OPTIONS:MFLOW_TOOLS} BUILD_DEPENDS+= ${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools RUN_DEPENDS+= ${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305090913.r499DhV1025073>