Date: Tue, 27 Feb 2024 11:17:55 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: fae74c803542 - main - audio/dssi: Fix build with llvm16 Message-ID: <202402271117.41RBHtxP032237@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=fae74c803542647ad9b14c65e3910639a912addb commit fae74c803542647ad9b14c65e3910639a912addb Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-02-27 09:37:39 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-02-27 11:17:47 +0000 audio/dssi: Fix build with llvm16 - Pet portclippy - Utilize OPTIONSNG --- audio/dssi/Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/audio/dssi/Makefile b/audio/dssi/Makefile index 1c1a34b88777..26e151718288 100644 --- a/audio/dssi/Makefile +++ b/audio/dssi/Makefile @@ -21,9 +21,10 @@ RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa \ ${LOCALBASE}/include/alsa/seq_event.h:audio/alsa-lib USES= gmake pathfix pkgconfig localbase libtool xorg +USE_XORG= x11 + GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share -USE_XORG= x11 PORTDOCS= ChangeLog README @@ -36,6 +37,12 @@ EXAMPLES_FILES2=LTS_qt trivial_sampler_qt OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_SUB= yes +.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 \ '/^lts_uidir/s|^|@HAVE_QT_TRUE@|; \ @@ -52,8 +59,12 @@ post-install: .for l in trivial_synth less_trivial_synth trivial_sampler karplong ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dssi/${l}.so .endfor + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_PROGRAM} ${EXAMPLES_FILES1:S|^|${EXAMPLESSRCDIR}/|} \ ${STAGEDIR}${EXAMPLESDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402271117.41RBHtxP032237>