From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 9 09:00: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 ED5BA2A3 for ; Thu, 9 May 2013 09:00:00 +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 D46489F9 for ; Thu, 9 May 2013 09:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r49900Rm093875 for ; Thu, 9 May 2013 09:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r499002X093874; Thu, 9 May 2013 09:00:00 GMT (envelope-from gnats) Resent-Date: Thu, 9 May 2013 09:00:00 GMT Resent-Message-Id: <201305090900.r499002X093874@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 [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 37D4BF4F for ; Thu, 9 May 2013 08:53:05 +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 0F90C99A for ; Thu, 9 May 2013 08:53:05 +0000 (UTC) Received: from oldred.FreeBSD.org ([127.0.1.6]) by oldred.FreeBSD.org (8.14.5/8.14.5) with ESMTP id r498r4pJ061283 for ; Thu, 9 May 2013 08:53:04 GMT (envelope-from nobody@oldred.FreeBSD.org) Received: (from nobody@localhost) by oldred.FreeBSD.org (8.14.5/8.14.5/Submit) id r498r4xW061282; Thu, 9 May 2013 08:53:04 GMT (envelope-from nobody) Message-Id: <201305090853.r498r4xW061282@oldred.FreeBSD.org> Date: Thu, 9 May 2013 08:53:04 GMT From: "Ilya A. Arkhipov" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/178444: [patch] net-mgmt/macroscope: 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: Thu, 09 May 2013 09:00:01 -0000 >Number: 178444 >Category: ports >Synopsis: [patch] net-mgmt/macroscope: 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:00: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: patch for net-mgmt/macroscope for moving to optionsng >How-To-Repeat: Install it ^_^ >Fix: diff -Nru macroscope_old/Makefile macroscope/Makefile --- macroscope_old/Makefile 2013-05-08 22:49:31.142706129 +0400 +++ macroscope/Makefile 2013-05-09 12:01:32.636066792 +0400 @@ -1,9 +1,5 @@ -# New ports collection makefile for: macroscope -# Date created: 2007-05-14 -# Whom: Dukashvili Guram -# -# $FreeBSD: net-mgmt/macroscope/Makefile 314960 2013-03-22 20:06:14Z makc $ -# +# Created by: Dukashvili Guram +# $FreeBSD$ PORTNAME= macroscope PORTVERSION= 1.0.3787 @@ -25,21 +21,23 @@ USE_DOS2UNIX= yes USES= cmake -OPTIONS= MYSQL "With MySQL support" on \ - FIREBIRD "With Firebird support" off +OPTIONS_DEFINE= MYSQL FIREBIRD DOCS +MYSQL_DESC= With MySQL support +FIREBIRD_DESC= With Firebird support +OPTIONS_DEFAULT= MYSQL .include -.if defined(NOPORTDOCS) +.if empty(PORT_OPTIONS:MDOCS) CMAKE_ARGS+= -DCMAKE_NOT_INSTALL_DOC:BOOL=ON .endif -.if !defined(WITHOUT_MYSQL) +.if ${PORT_OPTIONS:MMYSQL} WANT_MYSQL_VER= 50 USE_MYSQL= yes .endif -.if !defined(WITHOUT_FIREBIRD) +.if ${PORT_OPTIONS:MFIREBIRD} WITH_FIREBIRD_VER= 2 USE_FIREBIRD= yes .endif Patch attached with submission follows: diff -Nru macroscope_old/Makefile macroscope/Makefile --- macroscope_old/Makefile 2013-05-08 22:49:31.142706129 +0400 +++ macroscope/Makefile 2013-05-09 12:01:32.636066792 +0400 @@ -1,9 +1,5 @@ -# New ports collection makefile for: macroscope -# Date created: 2007-05-14 -# Whom: Dukashvili Guram -# -# $FreeBSD: net-mgmt/macroscope/Makefile 314960 2013-03-22 20:06:14Z makc $ -# +# Created by: Dukashvili Guram +# $FreeBSD$ PORTNAME= macroscope PORTVERSION= 1.0.3787 @@ -25,21 +21,23 @@ USE_DOS2UNIX= yes USES= cmake -OPTIONS= MYSQL "With MySQL support" on \ - FIREBIRD "With Firebird support" off +OPTIONS_DEFINE= MYSQL FIREBIRD DOCS +MYSQL_DESC= With MySQL support +FIREBIRD_DESC= With Firebird support +OPTIONS_DEFAULT= MYSQL .include -.if defined(NOPORTDOCS) +.if empty(PORT_OPTIONS:MDOCS) CMAKE_ARGS+= -DCMAKE_NOT_INSTALL_DOC:BOOL=ON .endif -.if !defined(WITHOUT_MYSQL) +.if ${PORT_OPTIONS:MMYSQL} WANT_MYSQL_VER= 50 USE_MYSQL= yes .endif -.if !defined(WITHOUT_FIREBIRD) +.if ${PORT_OPTIONS:MFIREBIRD} WITH_FIREBIRD_VER= 2 USE_FIREBIRD= yes .endif >Release-Note: >Audit-Trail: >Unformatted: