Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 18:10:16 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: 10a7ca632a29 - main - devel/libbinio: Fix build with llvm16
Message-ID:  <202306241810.35OIAGRa018404@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=10a7ca632a29f4a86bac13b9fe1b6b77c8c5a8b7

commit 10a7ca632a29f4a86bac13b9fe1b6b77c8c5a8b7
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 17:36:23 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 18:10:03 +0000

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

diff --git a/devel/libbinio/Makefile b/devel/libbinio/Makefile
index e974784ca05f..37ed4e48083c 100644
--- a/devel/libbinio/Makefile
+++ b/devel/libbinio/Makefile
@@ -21,6 +21,12 @@ INSTALL_TARGET=	install-strip
 
 PORTSCOUT=	skipv:start
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CPPFLAGS+=  -Dregister=
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|^\(SUBDIRS\ =\).*|\1 src|' ${WRKSRC}/Makefile.am
 



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