Index | Thread | Search

From:
Nazarenko Mykyta <mykyta@nazarenko.sbs>
Subject:
fix-build: net/nchat
To:
ports@openbsd.org
Cc:
kirill@korins.ky, kn@openbsd.org, naddy@mips.inka.de
Date:
Wed, 24 Jun 2026 10:51:32 +0200

Download raw body.

Thread
  • Nazarenko Mykyta:

    fix-build: net/nchat

Buenos dias ports@! 

As naddy@ reported, at the time the port failed to build in bulk-build;
as it turned out later, this was due to the absence of the
-DPHP_EXECUTABLE=OFF flag. I added this flag to completely disable the
generation of comments in the headers of the built-in tdlib and to fix
the port’s build when it is built in a dpb environment.

OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/nchat/Makefile,v
diff -u -p -u -r1.1.1.1 Makefile
--- Makefile    1 Jun 2026 19:27:34 -0000       1.1.1.1
+++ Makefile    24 Jun 2026 08:48:24 -0000
@@ -30,6 +30,7 @@ LIB_DEPENDS = databases/sqlite3 \
                graphics/png
 
 CONFIGURE_ARGS =       -DCCACHE_FOUND=OFF \
+                       -DPHP_EXECUTABLE=OFF \
                        -DCCACHE_PROGRAM=OFF \
                        -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON