ports/172525: [net-mgmt/rancid] OptionsNG Conversion

Gabor Pali pgj at FreeBSD.org
Tue Oct 9 22:30:11 UTC 2012


>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:


More information about the freebsd-ports-bugs mailing list