From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 8 18:50:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0C5DEF7B for ; Wed, 8 May 2013 18:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E838D6A4 for ; Wed, 8 May 2013 18:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r48Io07s058971 for ; Wed, 8 May 2013 18:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r48Io0aO058970; Wed, 8 May 2013 18:50:00 GMT (envelope-from gnats) Resent-Date: Wed, 8 May 2013 18:50:00 GMT Resent-Message-Id: <201305081850.r48Io0aO058970@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Ilya A. Arkhipov" Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 95181E77 for ; Wed, 8 May 2013 18:47:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.FreeBSD.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 779FF68B for ; Wed, 8 May 2013 18:47:39 +0000 (UTC) Received: from oldred.FreeBSD.org ([127.0.1.6]) by oldred.FreeBSD.org (8.14.5/8.14.5) with ESMTP id r48Ild4i045494 for ; Wed, 8 May 2013 18:47:39 GMT (envelope-from nobody@oldred.FreeBSD.org) Received: (from nobody@localhost) by oldred.FreeBSD.org (8.14.5/8.14.5/Submit) id r48Ildbl045493; Wed, 8 May 2013 18:47:39 GMT (envelope-from nobody) Message-Id: <201305081847.r48Ildbl045493@oldred.FreeBSD.org> Date: Wed, 8 May 2013 18:47:39 GMT From: "Ilya A. Arkhipov" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/178427: [net-mgmt/flow-tools] patch for moving to optionsng X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 May 2013 18:50:01 -0000 >Number: 178427 >Category: ports >Synopsis: [net-mgmt/flow-tools] patch for 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: Wed May 08 18:50:00 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: [net-mgmt/flow-tools] patch for moving to optionsng >How-To-Repeat: install it ^_^ >Fix: --- flow-tools_old/Makefile 2013-05-08 22:40:08.662706573 +0400 +++ flow-tools/Makefile 2013-05-08 22:43:41.366707295 +0400 @@ -1,9 +1,5 @@ -# New ports collection makefile for: flow-tools -# Date created: 2000 Jul 25 -# Whom: @BABOLO <.@babolo.ru> -# -# $FreeBSD: ports/net-mgmt/flow-tools/Makefile,v 1.34 2012/11/17 06:00:31 svnexp Exp $ -# +# Created by: @BABOLO <.@babolo.ru> +# $FreeBSD$ PORTNAME= flow-tools PORTVERSION= 0.68 @@ -16,9 +12,10 @@ PORTSCOUT= skipv:0.411 -OPTIONS= MYSQL "Enable MySQL support" off \ - OPENSSL "Enable OpenSSL support" off \ - PGSQL "Enable PostgreSQL support" off +OPTIONS_DEFINE= MYSQL OPENSSL PGSQL +MYSQL_DESC= Enable MySQL support +OPENSSL_DESC= Enable OpenSSL support +PGSQL_DESC= Enable PostgreSQL support CONFLICTS= flow-tools-ng-[0-9]* @@ -54,17 +51,17 @@ .include -.if defined(WITH_PGSQL) +.if ${PORT_OPTIONS:MPGSQL} CONFIGURE_ARGS+=--with-pgsql="${PREFIX}" USE_PGSQL= yes .endif -.if defined(WITH_MYSQL) +.if ${PORT_OPTIONS:MMYSQL} CONFIGURE_ARGS+=--with-mysql="${PREFIX}" USE_MYSQL= yes .endif -.if defined(WITH_OPENSSL) +.if ${PORT_OPTIONS:MOPENSSL} CONFIGURE_ARGS+=--with-openssl="${OPENSSLBASE}" .endif Patch attached with submission follows: diff -Nru flow-tools_old/Makefile flow-tools/Makefile --- flow-tools_old/Makefile 2013-05-08 22:40:08.662706573 +0400 +++ flow-tools/Makefile 2013-05-08 22:43:41.366707295 +0400 @@ -1,9 +1,5 @@ -# New ports collection makefile for: flow-tools -# Date created: 2000 Jul 25 -# Whom: @BABOLO <.@babolo.ru> -# -# $FreeBSD: ports/net-mgmt/flow-tools/Makefile,v 1.34 2012/11/17 06:00:31 svnexp Exp $ -# +# Created by: @BABOLO <.@babolo.ru> +# $FreeBSD$ PORTNAME= flow-tools PORTVERSION= 0.68 @@ -16,9 +12,10 @@ PORTSCOUT= skipv:0.411 -OPTIONS= MYSQL "Enable MySQL support" off \ - OPENSSL "Enable OpenSSL support" off \ - PGSQL "Enable PostgreSQL support" off +OPTIONS_DEFINE= MYSQL OPENSSL PGSQL +MYSQL_DESC= Enable MySQL support +OPENSSL_DESC= Enable OpenSSL support +PGSQL_DESC= Enable PostgreSQL support CONFLICTS= flow-tools-ng-[0-9]* @@ -54,17 +51,17 @@ .include -.if defined(WITH_PGSQL) +.if ${PORT_OPTIONS:MPGSQL} CONFIGURE_ARGS+=--with-pgsql="${PREFIX}" USE_PGSQL= yes .endif -.if defined(WITH_MYSQL) +.if ${PORT_OPTIONS:MMYSQL} CONFIGURE_ARGS+=--with-mysql="${PREFIX}" USE_MYSQL= yes .endif -.if defined(WITH_OPENSSL) +.if ${PORT_OPTIONS:MOPENSSL} CONFIGURE_ARGS+=--with-openssl="${OPENSSLBASE}" .endif >Release-Note: >Audit-Trail: >Unformatted: