diff options
author | rillig <rillig@pkgsrc.org> | 2018-01-10 00:19:48 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2018-01-10 00:19:48 +0000 |
commit | 8475adda0dc468654094742f76f9909006c0d76c (patch) | |
tree | 5f2ffa26044c4c4c110633dcf8ea7d7a0dbccf4d | |
parent | 599a361fa10e7ac4e5513235d38b4d3801647ad2 (diff) | |
download | pkgsrc-8475adda0dc468654094742f76f9909006c0d76c.tar.gz |
courier-imap: Fix pkglint warning about foreign variables in SUBST block
-rw-r--r-- | mail/courier-imap/options.mk | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/mail/courier-imap/options.mk b/mail/courier-imap/options.mk index 64aee0743a5..45ee728329b 100644 --- a/mail/courier-imap/options.mk +++ b/mail/courier-imap/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2008/02/21 15:50:29 jlam Exp $ +# $NetBSD: options.mk,v 1.3 2018/01/10 00:19:48 rillig Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.courier-imap PKG_SUPPORTED_OPTIONS= courier-gnutls fam @@ -10,17 +10,20 @@ PKG_SUGGESTED_OPTIONS= # empty ### Support using the GNU TLS tools for creating certificates; otherwise ### default to using OpenSSL. ### -SUBST_CLASSES+= tls -SUBST_FILES.tls= imap/mkimapdcert.in imap/mkpop3dcert.in -SUBST_STAGE.tls= pre-configure COURIER_CERTTOOL= ${PREFIX}/bin/certtool +.if !empty(PKG_OPTIONS:Mcourier-gnutls) COURIER_OPENSSL= ${PREFIX}/bin/openssl +.else +USE_TOOLS+= openssl:run +COURIER_OPENSSL= ${TOOLS_OPENSSL} +.endif +SUBST_CLASSES+= tls +SUBST_FILES.tls= imap/mkimapdcert.in imap/mkpop3dcert.in +SUBST_STAGE.tls= pre-configure .if !empty(PKG_OPTIONS:Mcourier-gnutls) SUBST_SED.tls= -e "s|@ssllib@|gnutls|g" .else -USE_TOOLS+= openssl:run -COURIER_OPENSSL= ${TOOLS_OPENSSL} SUBST_SED.tls= -e "s|@ssllib@|openssl|g" .endif |