Date: Mon, 6 Mar 2023 09:24:08 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: 273c18c504ce - main - audio/ocp: Workaround regression in audio/libdiscid Message-ID: <202303060924.3269O8uJ018112@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=273c18c504ce483fa775964be6a7011ed938dfdc commit 273c18c504ce483fa775964be6a7011ed938dfdc Author: Emanuel Haupt <ehaupt@FreeBSD.org> AuthorDate: 2023-03-06 09:23:57 +0000 Commit: Emanuel Haupt <ehaupt@FreeBSD.org> CommitDate: 2023-03-06 09:24:03 +0000 audio/ocp: Workaround regression in audio/libdiscid Workaround regression in audio/libdiscid. This can be removed once https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269990 is committed. Notified by: pkg-fallout --- audio/ocp/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile index 633cc8ee0918..291f2a1207aa 100644 --- a/audio/ocp/Makefile +++ b/audio/ocp/Makefile @@ -1,5 +1,6 @@ PORTNAME= ocp PORTVERSION= 0.2.103 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= audio MASTER_SITES= https://stian.cubic.org/ocp/ @@ -88,6 +89,15 @@ X11_PLIST_SUB_OFF= DESKTOP='@comment ' \ TIMIDITY_CFG= ${LOCALBASE}/share/timidity/timidity.cfg +# Workaround regression in audio/libdiscid +# See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269990 +# (remove once it's fixed) +post-patch: + @${REINPLACE_CMD} \ + -e "s|^\(LIBDISCID_CFLAGS=\).*|\1-I${LOCALBASE}/include|" \ + -e "s|^\(LIBDISCID_LIBS=\).*|\1-L${LOCALBASE}/lib -ldiscid|" \ + ${WRKSRC}/Rules.make.in + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ocp @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocp/*.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303060924.3269O8uJ018112>