Date: Mon, 26 Jun 2023 12:16:16 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 09ce8deaafe0 - main - multimedia/smpeg2: Fix build with llvm16 Message-ID: <202306261216.35QCGGBf000025@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=09ce8deaafe01223e9e2cbb70ea062eafcb56f7a commit 09ce8deaafe01223e9e2cbb70ea062eafcb56f7a Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-26 11:41:45 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-26 12:16:01 +0000 multimedia/smpeg2: Fix build with llvm16 Sponsored by: The FreeBSD Foundation --- multimedia/smpeg2/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/multimedia/smpeg2/Makefile b/multimedia/smpeg2/Makefile index 160756f41b6b..bc3e63ca92c3 100644 --- a/multimedia/smpeg2/Makefile +++ b/multimedia/smpeg2/Makefile @@ -29,6 +29,12 @@ CONFIGURE_ARGS= --enable-mmx PLAYMPEG_CONFLICTS_INSTALL= smpeg PLAYMPEG_VARS= LICENSE+=GPLv2+ +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Dregister= +.endif + post-patch-PLAYMPEG-off: @${REINPLACE_CMD} -e '/^bin_PROGRAMS =/s/plaympeg$$(EXEEXT)// ; \ /^man_MANS =/s/plaympeg\.1//' ${WRKSRC}/Makefile.in
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306261216.35QCGGBf000025>