diff --git a/build.html b/build.html
index 035a176..38bf606 100644
--- a/build.html
+++ b/build.html
@@ -454,7 +454,7 @@ function onOptionsChanged() {
pre_text.push('Note that building requires a lot of memory, so you may need to increase allowed per-process memory usage in /etc/login.conf or build from root.');
}
if (os_netbsd) {
- pre_text.push('Note that the following instruction is for NetBSD 8.0 and default SH shell.');
+ pre_text.push('Note that the following instruction is for NetBSD 8+ and default SH shell.');
}
var terminal_name = (function () {
@@ -586,8 +586,8 @@ function onOptionsChanged() {
if (!use_root) {
commands.push('su -');
}
- commands.push('export PKG_PATH=ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/8.0_2019Q2/All');
- var packages = 'git gperf cmake openssl gcc5-libs';
+ commands.push('export PKG_PATH=http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r)/All');
+ var packages = 'git gperf cmake openssl gcc12-libs mozilla-rootcerts-openssl';
commands.push('pkg_add ' + packages);
if (!use_root) {
commands.push('exit');