From: Pascal Stumpf Subject: Re: [patch (kind of)] sysutils/gitlab-cli: terminal input doesn't work properly on OpenBSD To: Klemens Nanni Cc: YASUOKA Masahiko , misha@freebsd.org, ports@openbsd.org Date: Sun, 01 Mar 2026 13:09:53 +0100 On Sat, 28 Feb 2026 13:48:15 +0000, Klemens Nanni wrote: > 28.02.2026 12:55, Stuart Henderson пишет: > > On 2026/02/28 15:52, YASUOKA Masahiko wrote: > >> I created a patch which makes the program use > >> https://github.com/bsdmp/survey . > >> > >> If this way is ok, I'll create a diff for gitlab-cli. > > > > Here's a simplified version, tested and ok with me. > > Yes, please! > > Could you add a brief comment above SURVEY_V what it's for? > > Either way, OK kn > > > Could this be applied to sysutils/gitlab-cli as well? gitlab-cli does not use survey any more. > > Index: Makefile > > =================================================================== > > RCS file: /cvs/ports/devel/github-cli/Makefile,v > > diff -u -p -r1.72 Makefile > > --- Makefile 4 Feb 2026 17:45:53 -0000 1.72 > > +++ Makefile 28 Feb 2026 09:49:45 -0000 > > @@ -6,6 +6,11 @@ MODGO_VERSION = v${V} > > > > DISTNAME = cli-${MODGO_VERSION} > > PKGNAME = github-cli-${V} > > +REVISION = 0 > > + > > +SURVEY_V = vv2.3.8 > > +DIST_TUPLE = github bsdmp survey ${SURVEY_V} ../survey > > +EXTRACT_ONLY = bsdmp-survey-${SURVEY_V}.tar.gz > > > > CATEGORIES = devel > > HOMEPAGE = https://cli.github.com/ > > @@ -23,6 +28,10 @@ MODGO_LDFLAGS += -X "${MODGO_MODNAME}/in > > TEST_TARGET = ./... > > > > PORTHOME = ${WRKDIR} > > + > > +pre-build: > > + cd ${WRKSRC}; ${MODGO_CMD} mod edit -replace \ > > + github.com/AlecAivazis/survey/v2=${WRKDIR}/survey > > > > post-install: > > ${WRKDIR}/go/bin/gen-docs --doc-path ${PREFIX}/man/man1 --man-page >