diff --git a/build.html b/build.html
index 6174e7669..2c24bbb30 100644
--- a/build.html
+++ b/build.html
@@ -918,7 +918,7 @@ function onOptionsChanged() {
commands.push('su -');
}
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';
+ var packages = 'git gperf pcre2 php-8* cmake openssl gcc12-libs mozilla-rootcerts-openssl';
commands.push('pkg_add ' + packages);
if (!use_root) {
commands.push('exit');