From: SASANO Takayoshi Subject: [PATCH] devel/readline-9.2.13p1 -> p2 To: ports@cvs.openbsd.org Date: Sun, 28 Sep 2025 22:26:16 +0900 Hello, Current devel/readline has following problem, this is catastrophic with pkg_search_module() of CMake. openbsd-current-vm# pkg-config --libs readline Package termcap was not found in the pkg-config search path. Perhaps you should add the directory containing `termcap.pc' to the PKG_CONFIG_PATH environment variable Package 'termcap', required by 'readline', not found openbsd-current-vm# this is caused by "Requires.private: termcap" in /usr/local/lib/pkgconfig/readline.pc and the problem is not occur when remove this line. Here's the diff, ok? Index: Makefile =================================================================== RCS file: /cvs/ports/devel/readline/Makefile,v diff -u -p -r1.22 Makefile --- Makefile 16 Aug 2025 14:26:42 -0000 1.22 +++ Makefile 28 Sep 2025 13:19:58 -0000 @@ -3,7 +3,7 @@ COMMENT = library to edit command lines V = 8.2.13 DISTNAME = readline-${V} PKGNAME = readline-${V} -REVISION = 1 +REVISION = 2 LIBV = 3.0 SHARED_LIBS += ehistory ${LIBV} Index: patches/patch-readline_pc_in =================================================================== RCS file: patches/patch-readline_pc_in diff -N patches/patch-readline_pc_in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-readline_pc_in 28 Sep 2025 13:19:58 -0000 @@ -0,0 +1,9 @@ +--- readline.pc.in.orig Tue Apr 9 03:22:47 2019 ++++ readline.pc.in Sun Sep 28 22:15:11 2025 +@@ -7,6 +7,5 @@ Name: Readline + Description: Gnu Readline library for command line editing + URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html + Version: @LIBVERSION@ +-Requires.private: @TERMCAP_PKG_CONFIG_LIB@ + Libs: -L${libdir} -lreadline + Cflags: -I${includedir} Regards, -- SASANO Takayoshi (JG1UAA)