net-dns/getdns: Fix libressl check in pkg_postinst
authorPatrick McLean <patrick.mclean@sony.com>
Thu, 9 May 2019 17:44:06 +0000 (10:44 -0700)
committerPatrick McLean <chutzpah@gentoo.org>
Thu, 9 May 2019 18:30:49 +0000 (11:30 -0700)
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
net-dns/getdns/getdns-1.5.1.ebuild

index 619bd556879779925595d9cd796b725cded57b3f..05ba4798a0f464bbc17406e88f0c5f09f025e952 100644 (file)
@@ -75,7 +75,7 @@ pkg_postinst() {
                fcaps cap_net_bind_service=ei /usr/bin/stubby
        fi
 
-       if has_version <dev-libs/libressl-2.7.0; then
+       if has_version '<dev-libs/libressl-2.7.0'; then
                ewarn "BEWARE: dev-libs/libressl prior to 2.7 does NOT check TLS certificates."
                if use stubby; then
                        ewarn "You will NOT be able to use strict profile in Stubby."