git: 4a78bb3925e8 - main - audio/sidplayer: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Jul 2023 21:52:22 UTC
The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=4a78bb3925e8389f17e0524c5efa9a7581cecf48 commit 4a78bb3925e8389f17e0524c5efa9a7581cecf48 Author: Emanuel Haupt <ehaupt@FreeBSD.org> AuthorDate: 2023-07-02 21:51:32 +0000 Commit: Emanuel Haupt <ehaupt@FreeBSD.org> CommitDate: 2023-07-02 21:51:32 +0000 audio/sidplayer: Fix build with llvm16 Notified by: pkg-fallout --- audio/sidplayer/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/audio/sidplayer/Makefile b/audio/sidplayer/Makefile index 996e0a327228..d65bcad41616 100644 --- a/audio/sidplayer/Makefile +++ b/audio/sidplayer/Makefile @@ -21,6 +21,12 @@ OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes SUB_FILES= pkg-message +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Dregister= +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}