diff options
Diffstat (limited to 'misc/less/options.mk')
-rw-r--r-- | misc/less/options.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/misc/less/options.mk b/misc/less/options.mk index 745c6d42750..9be3aa32be1 100644 --- a/misc/less/options.mk +++ b/misc/less/options.mk @@ -1,11 +1,15 @@ -# $NetBSD: options.mk,v 1.1 2008/03/02 15:35:33 bjs Exp $ +# $NetBSD: options.mk,v 1.2 2019/06/15 10:03:38 leot Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.less -PKG_SUPPORTED_OPTIONS= pcre +PKG_OPTIONS_REQUIRED_GROUPS= regex +PKG_OPTIONS_GROUP.regex= pcre regexp +PKG_SUGGESTED_OPTIONS= regexp .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mpcre) CONFIGURE_ARGS+= --with-regex=pcre . include "../../devel/pcre/buildlink3.mk" +.elif !empty(PKG_OPTIONS:Mregexp) +CONFIGURE_ARGS+= --with-regex=posix .endif |