Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2023 12:16:15 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 588ebd2c0f18 - main - japanese/groff: Fix build with llvm16
Message-ID:  <202306261216.35QCGFqp099981@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=588ebd2c0f180e15b53fabe99d95a8bf4c339492

commit 588ebd2c0f180e15b53fabe99d95a8bf4c339492
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-26 11:39:38 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-26 12:16:00 +0000

    japanese/groff: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 japanese/groff/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/japanese/groff/Makefile b/japanese/groff/Makefile
index fccc7a031a99..c67f05c6f1b4 100644
--- a/japanese/groff/Makefile
+++ b/japanese/groff/Makefile
@@ -45,6 +45,12 @@ MDOCFILES=	ja.eucJP doc-common doc-syms
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CPPFLAGS+=  -Dregister=
+.endif
+
 post-patch:
 	${REINPLACE_CMD} -E -e 's|^@setfilename +groff|&.info|g;' \
 	    ${WRKSRC}/doc/groff.texinfo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306261216.35QCGFqp099981>