Christian Weisgerber writes: > productivity/ledger editline/readline.h not found
Diff of "make configure": --- Looking for readline in edit - not found +-- Looking for readline in edit - found For some reason, this test in CMakeLists.txt successfully sets HAVE_EDIT under lld which didn't happen before: check_library_exists(edit readline "" HAVE_EDIT) find_opt_library_and_header(EDIT_PATH histedit.h EDIT_LIB edit HAVE_EDIT) This triggers an include of <editline/readline.h>. I don't know the status of the libedit we have in base but we don't install its readline.h anywhere, and the headers we do install don't go in that directory. Simple fix is just to set HAVE_EDIT to 0 which causes the check to be skipped completely. ok? Index: Makefile =================================================================== RCS file: /cvs/ports/productivity/ledger/Makefile,v retrieving revision 1.22 diff -u -p -r1.22 Makefile --- Makefile 16 Nov 2017 23:20:39 -0000 1.22 +++ Makefile 24 Oct 2018 09:24:12 -0000 @@ -42,6 +42,9 @@ CONFIGURE_ARGS= -DUTFCPP_PATH=${LOCALBA # not generated...see post-install below. CONFIGURE_ARGS += -DBUILD_DOCS:Bool=On +# libedit support requires headers that don't exist on OpenBSD +CONFIGURE_ARGS += -DHAVE_EDIT:=Off + pre-configure: ${SUBST_CMD} ${WRKSRC}/src/CMakeLists.txt