aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-10-23 09:27:34 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-10-23 09:27:34 +0000
commit35e443952c07bdce7c1877ad18ff2f6f2b0c5065 (patch)
tree1a6afb1042f3f039d299bd18528c92eaa2c68835 /net-mgmt
parent63d85f6036a4b4a1a3aada92c9e9648bf350c6b8 (diff)
downloadports-35e443952c07bdce7c1877ad18ff2f6f2b0c5065.tar.gz
ports-35e443952c07bdce7c1877ad18ff2f6f2b0c5065.zip
Convert to new options framework
Feature safe: yes
Notes
Notes: svn path=/head/; revision=306303
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/bsnmp-regex/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-mgmt/bsnmp-regex/Makefile b/net-mgmt/bsnmp-regex/Makefile
index 99fc06ccf736..47b80b7f18bf 100644
--- a/net-mgmt/bsnmp-regex/Makefile
+++ b/net-mgmt/bsnmp-regex/Makefile
@@ -12,11 +12,12 @@ COMMENT= A bsnmpd module allowing creation of counters from log files
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