Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2012 09:27:34 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306303 - head/net-mgmt/bsnmp-regex
Message-ID:  <201210230927.q9N9RYee029711@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Oct 23 09:27:34 2012
New Revision: 306303
URL: http://svn.freebsd.org/changeset/ports/306303

Log:
  Convert to new options framework
  
  Feature safe:	yes

Modified:
  head/net-mgmt/bsnmp-regex/Makefile

Modified: head/net-mgmt/bsnmp-regex/Makefile
==============================================================================
--- head/net-mgmt/bsnmp-regex/Makefile	Tue Oct 23 09:23:15 2012	(r306302)
+++ head/net-mgmt/bsnmp-regex/Makefile	Tue Oct 23 09:27:34 2012	(r306303)
@@ -12,11 +12,12 @@ COMMENT=	A bsnmpd module allowing creati
 
 GNU_CONFIGURE=	yes
 
-OPTIONS=	PCRE	"Use PCRE instead of the default regex library"	Off
+OPTIONS_DEFINE=	PCRE
+PCRE_DESC=	Use PCRE instead of the default regex library
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_PCRE)
+.if ${PORT_OPTIONS:MPCRE}
 LIB_DEPENDS+=		pcre.1:${PORTSDIR}/devel/pcre
 CONFIGURE_ARGS+=	--enable-pcre
 .else



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