The same warnings resulted with groff 1.23 on macOS

This commit is contained in:
nhmall
2023-10-30 16:59:58 -04:00
parent a70cae04a3
commit df4d945395
2 changed files with 13 additions and 13 deletions

View File

@@ -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
#------------------------------------------------------------------------------

View File

@@ -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
#