summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2015-03-26 08:05:02 +0000
committerdholland <dholland@pkgsrc.org>2015-03-26 08:05:02 +0000
commitb0e3ce5a1b0d687f342ab0df9c2440665f9e0d21 (patch)
treec801e53b79f77e1dc673e4f077474e1186804493 /security
parent48c920208b819786b3155f38955f25a8e7303fcf (diff)
downloadpkgsrc-b0e3ce5a1b0d687f342ab0df9c2440665f9e0d21.tar.gz
Fix builtin detection for latest version (introduced a space between
'#' and 'define') - avoids unconditionally building pkgsrc openssl on netbsd-current. ok'd for during the freeze after an excessively long discussion :-/
Diffstat (limited to 'security')
-rw-r--r--security/openssl/builtin.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/openssl/builtin.mk b/security/openssl/builtin.mk
index bc27aed8906..f7a4c4f919b 100644
--- a/security/openssl/builtin.mk
+++ b/security/openssl/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.42 2014/06/05 12:16:06 wiz Exp $
+# $NetBSD: builtin.mk,v 1.43 2015/03/26 08:05:02 dholland Exp $
BUILTIN_PKG:= openssl
@@ -32,6 +32,7 @@ BUILTIN_VERSION.openssl!= \
${AWK} 'BEGIN { hex="0123456789abcdef"; \
alpha="abcdefghijklmnopqrstuvwxyz"; \
} \
+ /\#[ ]+define/ { sub("\#[ \\t]+define", "\#define", $$0); } \
/\#define[ ]*OPENSSL_VERSION_NUMBER/ { \
major = index(hex, substr($$3, 3, 1)) - 1; \
i = 16 * (index(hex, substr($$3, 4, 1)) - 1); \