Date: Sun, 2 Jul 2023 21:52:22 GMT From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 4a78bb3925e8 - main - audio/sidplayer: Fix build with llvm16 Message-ID: <202307022152.362LqM09097890@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307022152.362LqM09097890>