git: 014a5f6c9dcc - main - audio/ocp: Remove temporary workaround for libdiscid regression

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Mon, 06 Mar 2023 19:24:54 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=014a5f6c9dcc088ae8a0b1783d857c43e96eb0fa

commit 014a5f6c9dcc088ae8a0b1783d857c43e96eb0fa
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-03-06 19:24:45 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-03-06 19:24:50 +0000

    audio/ocp: Remove temporary workaround for libdiscid regression
    
    The previously implemented workaround in audio/ocp is no longer
    necessary as the regression to audio/libdiscid has been fixed.
---
 audio/ocp/Makefile | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile
index 291f2a1207aa..f553229712c3 100644
--- a/audio/ocp/Makefile
+++ b/audio/ocp/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ocp
 PORTVERSION=	0.2.103
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	audio
 MASTER_SITES=	https://stian.cubic.org/ocp/
@@ -89,15 +89,6 @@ 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