aboutsummaryrefslogtreecommitdiffhomepage
path: root/build.html
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2022-09-04 17:50:03 +0300
committerlevlam <levlam@telegram.org>2022-09-04 17:50:03 +0300
commit17bb58d8bb50f901cdb05d00a5857b2d08810844 (patch)
tree07d27521b78f1fa8bf9fb585669e93ea8b185b32 /build.html
parent16ba2ebfb801296f2acfe5a3adee0a732b36d877 (diff)
Improve NetBSD build instructions.
Diffstat (limited to 'build.html')
-rw-r--r--build.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/build.html b/build.html
index 88739752d..6174e7669 100644
--- a/build.html
+++ b/build.html
@@ -746,7 +746,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.');
}
if (os_mac) {
pre_text.push('Note that the following instruction will build TDLib only for ' + os_mac_host_name + '.');
@@ -917,8 +917,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 php-7.3.6 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 php-8* cmake openssl gcc12-libs mozilla-rootcerts-openssl';
commands.push('pkg_add ' + packages);
if (!use_root) {
commands.push('exit');