Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2012 18:44:17 GMT
From:      Gabor Pali <pgj@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/172525: [net-mgmt/rancid] OptionsNG Conversion
Message-ID:  <201210091844.q99IiHJA058027@red.freebsd.org>
Resent-Message-ID: <201210092230.q99MUBJ5042991@freefall.freebsd.org>

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

>Number:         172525
>Category:       ports
>Synopsis:       [net-mgmt/rancid] OptionsNG Conversion
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 09 22:30:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Gabor Pali
>Release:        n/a
>Organization:
The FreeBSD Project
>Environment:
n/a
>Description:
- Convert options to OptionsNG format

>How-To-Repeat:

>Fix:
See the attached patch.


Patch attached with submission follows:

diff --git a/net-mgmt/rancid/Makefile b/net-mgmt/rancid/Makefile
index 2ac5e8f..354463b 100644
--- a/net-mgmt/rancid/Makefile
+++ b/net-mgmt/rancid/Makefile
@@ -46,13 +46,18 @@ NEWERCONFIG_FILES1=	etc/rancid.conf
 NEWERCONFIG_FILES2=	etc/lg.conf
 NEWCONFIG_FILES=	rancid.conf lg.conf
 
-OPTIONS=		SVN "Use Subversion instead of CVS" off
+OPTIONS_DEFINE=		SVN
+OPTIONS_DEFAULT=	
+
+SVN_DESC=		Use Subversion instead of CVS
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_SVN)
+.if ${PORT_OPTIONS:MSVN}
 CONFIGURE_ARGS+=	--with-svn
 BUILD_DEPENDS+=		svn:${PORTSDIR}/devel/subversion
+.else
+CONFIGURE_ARGS+=	--without-svn
 .endif
 
 pre-everything::


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210091844.q99IiHJA058027>