diff options
author | Bradley T. Hughes <bhughes@FreeBSD.org> | 2019-01-23 21:21:13 +0000 |
---|---|---|
committer | Bradley T. Hughes <bhughes@FreeBSD.org> | 2019-01-23 21:21:13 +0000 |
commit | e98d981643bb21928aa9397805dae7f67d227b2e (patch) | |
tree | dc09f123559b6aefb3ab1c78e9b8d86d839dfdb8 /www | |
parent | www/node8: convert port to use BROKEN_SSL (diff) |
www/node10: disable BUNDLED_SSL by default on FreeBSD >=12
Change the default options on FreeBSD >=12 since OpenSSL 1.1.1 is
available in the base system. Bump PORTREVISION due to teh change in
defaults.
While here, convert the port to use BROKEN_SSL, taking care to set
BROKEN_SSL+=base when appropriate.
PR: 234762
Reported by: amdmi3
Sponsored by: Miles AS
Notes
Notes:
svn path=/head/; revision=491059
Diffstat (limited to 'www')
-rw-r--r-- | www/node10/Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/www/node10/Makefile b/www/node10/Makefile index 95c9a80d07b4..cc0026811a1a 100644 --- a/www/node10/Makefile +++ b/www/node10/Makefile @@ -3,6 +3,7 @@ PORTNAME= node PORTVERSION= 10.15.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/ PKGNAMESUFFIX= 10 @@ -14,10 +15,14 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_powerpc64= fails to build: KeyError: 'action' +BROKEN_SSL= openssl libressl libressl-devel +BROKEN_SSL_REASON= Node.js 10.x LTS requires OpenSSL 1.1.x or the BUNDLED_SSL option enabled ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 OPTIONS_DEFINE= BUNDLED_SSL DOCS NLS DTRACE -OPTIONS_DEFAULT= BUNDLED_SSL DTRACE +OPTIONS_DEFAULT= DTRACE +OPTIONS_DEFAULT_FreeBSD_11= BUNDLED_SSL +OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}} OPTIONS_SUB= yes .if !exists(/usr/sbin/dtrace) @@ -65,16 +70,8 @@ LIB_DEPENDS+= libcares.so:dns/c-ares\ .include <bsd.port.options.mk> -.if empty(PORT_OPTIONS:MBUNDLED_SSL) - -.if ${OPSYS} == FreeBSD && ${SSL_DEFAULT} != openssl111 -IGNORE= node.js requires openssl 1.1.0, add DEFAULT_VERSIONS+=ssl=openssl111 to /etc/make.conf or enable BUNDLED_SSL option -.endif - -.if !empty(SSL_DEFAULT:Mlibressl*) -IGNORE= cannot build node.js with LibreSSL. You must enable BUNDLED_SSL -.endif - +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 +BROKEN_SSL+= base .endif .include <bsd.port.pre.mk> |