ports/169244: [maintainer update] net/rabbitmq-c convert to optionsng

Geoff Garside freebsd at geoffgarside.co.uk
Tue Jun 19 19:10:14 UTC 2012


>Number:         169244
>Category:       ports
>Synopsis:       [maintainer update] net/rabbitmq-c convert to optionsng
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 19 19:10:13 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Geoff Garside
>Release:        
>Organization:
>Environment:
>Description:
Update Makefile to OptionsNG
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- /usr/ports/net/rabbitmq-c/Makefile	2012-02-19 07:02:57.000000000 +0000
+++ Makefile	2012-06-04 09:40:44.000000000 +0100
@@ -37,18 +37,19 @@
 LICENSE_FILE_MPL=	${WRKSRC}/LICENSE-GPL-2.0
 LICENSE_FILE_GPLv2=	${WRKSRC}/LICENSE-MPL-RabbitMQ
 
-OPTIONS=	64BIT "Produce 64-bit library" Off \
-		POPT  "Popt support in tools" Off
+OPTIONS_DEFINE=	64BIT POPT
+64BIT_DESC=	Produce 64-bit library
+POPT_DESC=	Popt support in tools
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_64BIT)
+.if ${PORT_OPTIONS:M64BIT}
 ONLY_FOR_ARCHS=		amd64 sparc64 powerpc
-ONLY_FOR_ARCHS_REASON=	WITH_64BIT is set
+ONLY_FOR_ARCHS_REASON=	64BIT option is set
 CONFIGURE_ARGS+=	--enable-64-bit
 .endif
 
-.if defined(WITH_POPT)
+.if ${PORT_OPTIONS:MPOPT}
 LIB_DEPENDS+=	popt.0:${PORTSDIR}/devel/popt
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib


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



More information about the freebsd-ports-bugs mailing list