diff options
| author | wiz <wiz> | 2005-08-01 11:45:19 +0000 |
|---|---|---|
| committer | wiz <wiz> | 2005-08-01 11:45:19 +0000 |
| commit | d1bea223e813b253e8399a88dac7c0da0afa8ad1 (patch) | |
| tree | fd1a5cfe12e48d58ba8b8188d817bf9b26809b83 /security/tkpasman/options.mk | |
| parent | 6d234695452b44509ead890c8c49ff2a86641595 (diff) | |
| download | pkgsrc-d1bea223e813b253e8399a88dac7c0da0afa8ad1.tar.gz | |
Convert to options framework.
Diffstat (limited to 'security/tkpasman/options.mk')
| -rw-r--r-- | security/tkpasman/options.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/security/tkpasman/options.mk b/security/tkpasman/options.mk new file mode 100644 index 00000000000..39edea4db5d --- /dev/null +++ b/security/tkpasman/options.mk @@ -0,0 +1,18 @@ +# $NetBSD: options.mk,v 1.1 2005/08/01 11:45:19 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.tkpasman +PKG_SUPPORTED_OPTIONS= ssl +# remove after pkgsrc-2005Q3 +PKG_OPTIONS_LEGACY_VARS+= TKPASMAN_USE_SSL:ssl + +.include "../../mk/bsd.options.mk" + +# SSL support +.if !empty(PKG_OPTIONS:Mssl) +. include "../../security/openssl/buildlink3.mk" +CONFIG_SUBST+= USE_OPENSSL="true" +CONFIG_SUBST+= OPENSSL="${BUILDLINK_PREFIX.openssl}/bin/openssl" +.else +CONFIG_SUBST+= USE_OPENSSL="false" +CONFIG_SUBST+= OPENSSL="" +.endif |
