pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/53702: lang/nodejs is broken



The following reply was made to PR pkg/53702; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: pkg/53702: lang/nodejs is broken
Date: Sat, 23 Mar 2019 22:12:25 +0900

 Note currently nodejs-*/deps/openssl/config/arch/linux-elf seems used
 if there is no platform specific config exists, but it includes
 x86 linux settings ("-DL_ENDIAN", b32 -> "1" etc.) as its name.
 
 I tried to prepare "BSD-x86" configuration under
 nodejs-*/deps/openssl/config/arch:
  https://gist.githubusercontent.com/tsutsui/54a7e332a547f853f6d0eee3f27c593e/raw/9190146b49b8d3b021319f2cffc7700d4862325f/pkgsrc-lang-nodejs-i386_fixes.diff
 
 and it seems working even with no-asm settings.
 
 Maybe it's possible to prepare
 nodejs-*/deps/openssl/config/arch/BSD-sparc/no-asm
 (and other NetBSD MACHINE_ARCH) with
 "CONFIGURE_ARGS+=	--openssl-no-asm"
 as FreeBSD ports does:
  https://svnweb.freebsd.org/ports/head/www/node/Makefile?revision=495854&view=markup
 ---
 77 	.if ${PORT_OPTIONS:MBUNDLED_SSL} && ${ARCH} != amd64 && ${ARCH} != i386
 78 	CONFIGURE_ARGS+=--openssl-no-asm
 79 	.endif
 ---
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index