aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/bsnmp-regex/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/bsnmp-regex/Makefile')
-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