summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2013-08-27 05:42:34 +0000
committerrichard <richard@pkgsrc.org>2013-08-27 05:42:34 +0000
commit5078575a2402746f6e6a68074bd5a06aa895d576 (patch)
tree20110a4240e2b66be0b9e6a7d42e9ae731d47564 /security
parent288f6e2151bd822e804c972d220650d9a75cbee1 (diff)
downloadpkgsrc-5078575a2402746f6e6a68074bd5a06aa895d576.tar.gz
fix openssl builtin support, at least for solaris
Diffstat (limited to 'security')
-rw-r--r--security/openssl/builtin.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/security/openssl/builtin.mk b/security/openssl/builtin.mk
index 85ef49a9f76..64ed6b2ff15 100644
--- a/security/openssl/builtin.mk
+++ b/security/openssl/builtin.mk
@@ -1,8 +1,8 @@
-# $NetBSD: builtin.mk,v 1.33 2013/06/13 07:51:26 adam Exp $
+# $NetBSD: builtin.mk,v 1.34 2013/08/27 05:42:34 richard Exp $
BUILTIN_PKG:= openssl
-BUILTIN_FIND_LIBS:= des
+BUILTIN_FIND_LIBS:= crypto des ssl
BUILTIN_FIND_FILES_VAR:= H_OPENSSLCONF H_OPENSSLV
BUILTIN_FIND_FILES.H_OPENSSLCONF= /usr/include/openssl/opensslconf.h \
/usr/sfw/include/openssl/opensslconf.h \
@@ -34,7 +34,7 @@ MAKEVARS+= IS_BUILTIN.openssl
empty(H_OPENSSLV:M__nonexistent__)
BUILTIN_VERSION.openssl!= \
${AWK} 'BEGIN { hex="0123456789abcdef"; \
- split("abcdefghijklmnopqrstuvwxyz", alpha, ""); \
+ alpha="abcdefghijklmnopqrstuvwxyz"; \
} \
/\#define[ ]*OPENSSL_VERSION_NUMBER/ { \
major = index(hex, substr($$3, 3, 1)) - 1; \
@@ -51,7 +51,7 @@ BUILTIN_VERSION.openssl!= \
} else if (i > 26) { \
patchlevel = "a"; \
} else { \
- patchlevel = alpha[i]; \
+ patchlevel = substr(alpha,i,1); \
} \
printf "%s%s%s%s\n", \
major, minor, teeny, patchlevel; \