Index | Thread | Search

From:
Jan Stary <hans@stare.cz>
Subject:
Re: [FIX] misc/screen: garbled text in the man page
To:
an9wer@sdf.org
Cc:
ports@openbsd.org
Date:
Thu, 22 May 2025 13:08:43 +0200

Download raw body.

Thread
Thanks - one more point for mandoc :-)
Twenty five to go.

	Jan


/usr/ports/books/man-pages-posix/Makefile:USE_GROFF =	Yes
/usr/ports/comms/x3270/Makefile:USE_GROFF =		Yes
/usr/ports/devel/riscv32-esp-elf/newlib/Makefile:USE_GROFF =	No
/usr/ports/devel/xtensa-esp32-elf/newlib/Makefile:USE_GROFF =	No
/usr/ports/devel/xtensa-esp32s2-elf/newlib/Makefile:USE_GROFF =	No
/usr/ports/devel/xtensa-esp32s3-elf/newlib/Makefile:USE_GROFF =	No
/usr/ports/devel/xtensa-lx106-elf/newlib/Makefile:USE_GROFF =	No
/usr/ports/editors/xemacs21/stable/Makefile:USE_GROFF =	Yes
/usr/ports/games/crimson/Makefile:USE_GROFF =	Yes
/usr/ports/graphics/xfig/Makefile:USE_GROFF=	Yes
/usr/ports/lang/ghc/Makefile:USE_GROFF =		Yes
/usr/ports/mail/fetchmail/Makefile:USE_GROFF=		Yes# uses www.tmac for .URL tags
/usr/ports/mail/nmh/Makefile:USE_GROFF =		Yes
/usr/ports/math/graphviz/Makefile:USE_GROFF=	Yes
/usr/ports/math/mcl/Makefile:USE_GROFF =	Yes
/usr/ports/misc/screen-shm/Makefile:USE_GROFF=	Yes
/usr/ports/misc/zzuf/Makefile:USE_GROFF=		Yes
/usr/ports/news/nn/Makefile:USE_GROFF =		Yes
/usr/ports/shells/ksh93/Makefile:USE_GROFF =		Yes
/usr/ports/tests/portbump/t2/Makefile.inc:USE_GROFF=		Yes
/usr/ports/textproc/docbook2x/Makefile:USE_GROFF =		Yes
/usr/ports/textproc/zoem/Makefile:USE_GROFF =	Yes
/usr/ports/x11/motif/Makefile:USE_GROFF=	Yes
/usr/ports/x11/wmclockmon/Makefile:USE_GROFF =		Yes
/usr/ports/x11/xwit/Makefile:USE_GROFF=	Yes


> Hi ports@
> 
> I installed the latest version of the misc/screen package 
> (screen-5.0.1.2.tgz), and noticed that the "DEFAULT KEY BINDINGS" 
> section in the installed man page is corrupted and unreadable - it is 
> supposed to be a table of key bindings and their descriptions, but 
> instead, it appears as garbled text.
> 
> I found that during the package creation (pkg_create(1)), the original 
> man page (man/man1/screen.1) in the fake installation directory is 
> reformatted using groff and stored as man/cat1/screen.0 in the final 
> package. However, the original man page is already well-formatted, and 
> there is no need to reformat it.
> 
> The issue can be fixed by removing "USE_GROFF" from the Makefile.
> 
> Ok?
> 
> -- 
> an9wer

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/misc/screen/Makefile,v
> diff -u -p -r1.84 Makefile
> --- Makefile	16 May 2025 16:11:05 -0000	1.84
> +++ Makefile	22 May 2025 09:44:14 -0000
> @@ -19,7 +19,6 @@ CONFIGURE_STYLE= gnu
>  CONFIGURE_ARGS=	--with-sys-screenrc="${SYSCONFDIR}/screenrc" --disable-pam
>  
>  USE_GMAKE=	Yes
> -USE_GROFF=	Yes
>  
>  FLAVORS=	static
>  FLAVOR?=