ports/178443: [patch] net-mgmt/nedi: moving to optionsng

Ilya A. Arkhipov rum1cro at yandex.ru
Thu May 9 09:00:00 UTC 2013


>Number:         178443
>Category:       ports
>Synopsis:       [patch] net-mgmt/nedi: 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 at mhome:/usr/obj/usr/src/sys/MICROKERNEL  amd64
>Description:
patch for net-mgmt/nedi for moving to optionsng
>How-To-Repeat:
Install it
>Fix:
diff -Nru nedi_old/Makefile nedi/Makefile
--- nedi_old/Makefile	2013-05-09 12:16:18.534706728 +0400
+++ nedi/Makefile	2013-05-09 12:18:41.056723902 +0400
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	nedi
-# Date created:				2007-02-04
-# Whom:					cristi
-#
-# $FreeBSD: ports/net-mgmt/nedi/Makefile,v 1.10 2012/11/17 06:00:34 svnexp Exp $
-#
+# Created by: cristi <cristi at net.utcluj.ro>
+# $FreeBSD$
 
 PORTNAME=	nedi
 DISTVERSION=	1.0.w
@@ -24,7 +20,8 @@
 NO_BUILD=	yes
 USE_PERL5=	yes
 
-OPTIONS=	GD "Use GD" OFF
+OPTIONS_DEFINE=	GD
+GD_DESC=	Use GD
 
 LATEST_LINK=	${PORTNAME}${PKGNAMESUFFIX}
 
@@ -33,7 +30,7 @@
 USE_PHP=	session snmp mysql
 WANT_PHP_WEB=	yes
 
-.if defined(WITH_GD) && !defined(WITHOUT_GD)
+.if ${PORT_OPTIONS:MGD}
 USE_PHP+=	gd
 .endif
 


Patch attached with submission follows:

diff -Nru nedi_old/Makefile nedi/Makefile
--- nedi_old/Makefile	2013-05-09 12:16:18.534706728 +0400
+++ nedi/Makefile	2013-05-09 12:18:41.056723902 +0400
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	nedi
-# Date created:				2007-02-04
-# Whom:					cristi
-#
-# $FreeBSD: ports/net-mgmt/nedi/Makefile,v 1.10 2012/11/17 06:00:34 svnexp Exp $
-#
+# Created by: cristi <cristi at net.utcluj.ro>
+# $FreeBSD$
 
 PORTNAME=	nedi
 DISTVERSION=	1.0.w
@@ -24,7 +20,8 @@
 NO_BUILD=	yes
 USE_PERL5=	yes
 
-OPTIONS=	GD "Use GD" OFF
+OPTIONS_DEFINE=	GD
+GD_DESC=	Use GD
 
 LATEST_LINK=	${PORTNAME}${PKGNAMESUFFIX}
 
@@ -33,7 +30,7 @@
 USE_PHP=	session snmp mysql
 WANT_PHP_WEB=	yes
 
-.if defined(WITH_GD) && !defined(WITHOUT_GD)
+.if ${PORT_OPTIONS:MGD}
 USE_PHP+=	gd
 .endif
 


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list