From df4d945395fc2d8ee8646de8ffea5464f1b1f07a Mon Sep 17 00:00:00 2001 From: nhmall Date: Mon, 30 Oct 2023 16:59:58 -0400 Subject: [PATCH] The same warnings resulted with groff 1.23 on macOS --- sys/unix/hints/include/multiw-3.370 | 13 +++++++++++++ sys/unix/hints/linux.370 | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/sys/unix/hints/include/multiw-3.370 b/sys/unix/hints/include/multiw-3.370 index 5d11441d6..48e8536cc 100644 --- a/sys/unix/hints/include/multiw-3.370 +++ b/sys/unix/hints/include/multiw-3.370 @@ -65,6 +65,19 @@ CPLUSPLUS_NEEDED = 1 endif endif +# suppress several hundred warnings with groff 1.23 +#detection of groff +NROFFISGROFF := $(shell echo `nroff --version | grep "GNU groff version"`) +#$(info NROFFISGROFF=$(NROFFISGROFF)) +ifneq "$(NROFFISGROFF)" "" +# get the version of groff +GROFFGE123 := $(shell expr `echo $(NROFFISGROFF) | cut -f2 -d.` \>= 23) +#$(info GROFFGE123=$(GROFFGE123)) +ifeq "$(GROFFGE123)" "1" +NROFF_FLAGS = -W font +endif +endif # NROFFISGROFF + #end of hints/include/multiw-3.370 #------------------------------------------------------------------------------ diff --git a/sys/unix/hints/linux.370 b/sys/unix/hints/linux.370 index 922f7a5bf..00e89022c 100755 --- a/sys/unix/hints/linux.370 +++ b/sys/unix/hints/linux.370 @@ -337,19 +337,6 @@ VARDIRPERM = 0755 VARFILEPERM = 0600 GAMEPERM = 0755 -# suppress several hundred warnings with groff 1.23 -#detection of groff -NROFFISGROFF := $(shell echo `nroff --version | grep "GNU groff version"`) -#$(info NROFFISGROFF=$(NROFFISGROFF)) -ifneq "$(NROFFISGROFF)" "" -# get the version of groff -GROFFGE123 := $(shell expr `echo $(NROFFISGROFF) | cut -f2 -d.` \>= 23) -#$(info GROFFGE123=$(GROFFGE123)) -ifeq "$(GROFFGE123)" "1" -NROFF_FLAGS = -W font -endif -endif # NROFFISGROFF - # #-INCLUDE cross-pre.370 #