git: a78e59efb10f - main - games/awele: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Aug 2023 18:55:57 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=a78e59efb10f0303196bd78c93c5fad5885389f6 commit a78e59efb10f0303196bd78c93c5fad5885389f6 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-05 18:17:44 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-05 18:55:49 +0000 games/awele: Fix build with llvm16 - Pet portclippy Sponsored by: The FreeBSD Foundation --- games/awele/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/games/awele/Makefile b/games/awele/Makefile index 95392fdfb5fc..6a14470da605 100644 --- a/games/awele/Makefile +++ b/games/awele/Makefile @@ -12,10 +12,17 @@ WRKSRC= ${WRKDIR}/${PORTNAME} USES= imake tk tar:tgz xorg USE_XORG= x11 + MAKE_ARGS= AWELE_DIR=${STAGEDIR}${PREFIX}/bin PLIST_FILES= bin/awelewish bin/xawele man/man6/xawele.6.gz +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e \ 's|%%LOCALBASE%%|${LOCALBASE}|; \