| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.253 2020/02/12 15:14:57 rillig Exp $ | | 1 | # $NetBSD: Makefile,v 1.254 2020/02/12 19:49:23 jperkin Exp $ |
2 | | | 2 | |
3 | DISTNAME= openssl-1.1.1d | | 3 | DISTNAME= openssl-1.1.1d |
4 | PKGREVISION= 2 | | 4 | PKGREVISION= 2 |
5 | CATEGORIES= security | | 5 | CATEGORIES= security |
6 | MASTER_SITES= https://www.openssl.org/source/ | | 6 | MASTER_SITES= https://www.openssl.org/source/ |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://www.openssl.org/ | | 9 | HOMEPAGE= https://www.openssl.org/ |
10 | COMMENT= Secure Socket Layer and cryptographic library | | 10 | COMMENT= Secure Socket Layer and cryptographic library |
11 | LICENSE= openssl | | 11 | LICENSE= openssl |
12 | | | 12 | |
13 | USE_GCC_RUNTIME= yes | | 13 | USE_GCC_RUNTIME= yes |
14 | | | 14 | |
| @@ -20,27 +20,27 @@ HAS_CONFIGURE= yes | | | @@ -20,27 +20,27 @@ HAS_CONFIGURE= yes |
20 | CONFIGURE_SCRIPT= ./config | | 20 | CONFIGURE_SCRIPT= ./config |
21 | CONFIGURE_ARGS+= --prefix=${PREFIX} | | 21 | CONFIGURE_ARGS+= --prefix=${PREFIX} |
22 | CONFIGURE_ARGS+= --openssldir=${PKG_SYSCONFDIR} | | 22 | CONFIGURE_ARGS+= --openssldir=${PKG_SYSCONFDIR} |
23 | CONFIGURE_ARGS+= shared | | 23 | CONFIGURE_ARGS+= shared |
24 | | | 24 | |
25 | .include "options.mk" | | 25 | .include "options.mk" |
26 | | | 26 | |
27 | CONFIGURE_ARGS+= ${CFLAGS} ${LDFLAGS} | | 27 | CONFIGURE_ARGS+= ${CFLAGS} ${LDFLAGS} |
28 | CONFIGURE_ENV+= PERL=${PERL5:Q} | | 28 | CONFIGURE_ENV+= PERL=${PERL5:Q} |
29 | | | 29 | |
30 | # If the config script cannot guess the host system correctly then we need to | | 30 | # If the config script cannot guess the host system correctly then we need to |
31 | # specify it manually and call the Configure script directly. | | 31 | # specify it manually and call the Configure script directly. |
32 | OPENSSL_HOST.SunOS-i386= solaris-x86-gcc | | 32 | OPENSSL_HOST.SunOS-i386= solaris-x86-gcc |
33 | OPENSSL_HOST.SunOS-x86_64= solaris64-x86-gcc | | 33 | OPENSSL_HOST.SunOS-x86_64= solaris64-x86_64-gcc |
34 | | | 34 | |
35 | .if defined(OPENSSL_HOST.${OPSYS}-${MACHINE_ARCH}) | | 35 | .if defined(OPENSSL_HOST.${OPSYS}-${MACHINE_ARCH}) |
36 | CONFIG_SHELL= ${PERL5} | | 36 | CONFIG_SHELL= ${PERL5} |
37 | CONFIGURE_SCRIPT= ./Configure | | 37 | CONFIGURE_SCRIPT= ./Configure |
38 | CONFIGURE_ARGS+= ${OPENSSL_HOST.${OPSYS}-${MACHINE_ARCH}} | | 38 | CONFIGURE_ARGS+= ${OPENSSL_HOST.${OPSYS}-${MACHINE_ARCH}} |
39 | .endif | | 39 | .endif |
40 | | | 40 | |
41 | PKGCONFIG_OVERRIDE+= libcrypto.pc libssl.pc openssl.pc | | 41 | PKGCONFIG_OVERRIDE+= libcrypto.pc libssl.pc openssl.pc |
42 | PKGCONFIG_OVERRIDE_STAGE= post-build | | 42 | PKGCONFIG_OVERRIDE_STAGE= post-build |
43 | | | 43 | |
44 | PKG_SYSCONFSUBDIR= openssl | | 44 | PKG_SYSCONFSUBDIR= openssl |
45 | CONF_FILES= ${PREFIX}/share/examples/openssl/openssl.cnf \ | | 45 | CONF_FILES= ${PREFIX}/share/examples/openssl/openssl.cnf \ |
46 | ${PKG_SYSCONFDIR}/openssl.cnf | | 46 | ${PKG_SYSCONFDIR}/openssl.cnf |