On 2026/03/06 17:44, Klemens Nanni wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   [email protected]    2026/03/06 17:44:34
> 
> Modified files:
>       net/tdlib      : Makefile.inc distinfo 
>       net/tdlib/patches: patch-CMakeLists_txt 
> 
> Log message:
> update to tdlib 1.8.62
> 

this no longer handles -DPHP_FOUND=OFF;

CMake Warning:
  Manually-specified variables were not used by the project:
[...]
    CMAKE_OBJC_COMPILER_AR
    CMAKE_OBJC_COMPILER_RANLIB
    PHP_FOUND
[...]
FAILED: td/generate/CMakeFiles/tl_generate_common 
/pobj/tdlib-1.8.62/build-i386/td/generate/CMakeFiles/tl_generate_common 
cd 
/pobj/tdlib-1.8.62/td-e597838871547131ef92332fca601f5effba4e8a/td/generate/auto 
&& /pobj/tdlib-1.8.62/build-i386/td/generate/generate_common && 
/usr/local/bin/php ../DoxygenTlDocumentationGenerator.php ../scheme/td_api.tl 
td/telegram/td_api.h
Write file td/telegram/telegram_api_0.cpp
Write file td/telegram/telegram_api_1.cpp
Write file td/telegram/telegram_api_2.cpp
[...]
Write file td/telegram/td_api.h
Write file td/telegram/td_api.hpp
/bin/sh: /usr/local/bin/php: not found
ninja: build stopped: subcommand failed.

still building, but I think this is what we want instead.
ok if build works?

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/tdlib/tdlib/Makefile,v
diff -u -p -r1.3 Makefile
--- Makefile    2 Sep 2025 16:56:17 -0000       1.3
+++ Makefile    14 Mar 2026 16:36:27 -0000
@@ -5,6 +5,6 @@ SHARED_LIBS =           tdjson  0.1
 WANTLIB =              ${COMPILER_LIBCXX} crypto m ssl z
 
 CONFIGURE_ARGS +=      -DCCACHE_FOUND=OFF \
-                       -DPHP_FOUND=OFF
+                       -DTD_ENABLE_DOTNET=OFF
 
 .include <bsd.port.mk>

Reply via email to