git: 770e3ccb0b23 - main - net-p2p/c-lightning: Unbreak on llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 18 May 2023 16:09:27 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=770e3ccb0b23726fc71131a744c4cc7471fb75a6 commit 770e3ccb0b23726fc71131a744c4cc7471fb75a6 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-05-18 16:08:34 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-05-18 16:09:12 +0000 net-p2p/c-lightning: Unbreak on llvm15 Approved by: portmgr (blanket) --- net-p2p/c-lightning/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net-p2p/c-lightning/Makefile b/net-p2p/c-lightning/Makefile index d8e87e471927..d51c2ef8e09b 100644 --- a/net-p2p/c-lightning/Makefile +++ b/net-p2p/c-lightning/Makefile @@ -68,9 +68,15 @@ SUB_FILES= lightningd-bitcoin.conf.sample pkg-message SUB_LIST= U="${USERS}" G="${GROUPS}" LIGHTNINGD_BASE_DIR="${DESTDIR}/var/db/c-lightning" PLIST_SUB= U="${USERS}" G="${GROUPS}" +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CPPFLAGS+= -Wno-error=unused-but-set-variable +.endif + post-install: ${INSTALL_DATA} \ ${WRKDIR}/lightningd-bitcoin.conf.sample \ ${STAGEDIR}${PREFIX}/etc/lightningd-bitcoin.conf.sample -.include <bsd.port.mk> +.include <bsd.port.post.mk>