git: bdde89c7fbd6 - main - devel/elm-format: Let `make patch` work after `make cabal-extract`.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 27 Jul 2022 14:56:51 UTC
The branch main has been updated by arrowd:

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

commit bdde89c7fbd69541e01f44171bc88d762b253168
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2022-07-27 14:49:03 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2022-07-27 14:55:50 +0000

    devel/elm-format: Let `make patch` work after `make cabal-extract`.
---
 devel/elm-format/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/elm-format/Makefile b/devel/elm-format/Makefile
index 746fb0d77ba8..507f9e72164e 100644
--- a/devel/elm-format/Makefile
+++ b/devel/elm-format/Makefile
@@ -61,7 +61,7 @@ post-extract:
 
 post-patch:
 	@${REINPLACE_CMD} -e '/with-compiler: ghc-8.10.4/d' \
-		${WRKSRC}/cabal.project.${PORTNAME}
+		${WRKSRC}/cabal.project.${PORTNAME} || ${TRUE}
 	${RM} ${WRKSRC}/cabal.config
 
 .include <bsd.port.mk>