git: 10a7ca632a29 - main - devel/libbinio: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Jun 2023 18:10:16 UTC
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