git: 9da151fff0e8 - main - devel/hs-haskell-language-server: Override extract-cabal-deps.
Gleb Popov
arrowd at FreeBSD.org
Mon May 24 06:32:08 UTC 2021
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9da151fff0e879aee7872c99246051db786cfc84
commit 9da151fff0e879aee7872c99246051db786cfc84
Author: Gleb Popov <arrowd at FreeBSD.org>
AuthorDate: 2021-05-24 06:30:31 +0000
Commit: Gleb Popov <arrowd at FreeBSD.org>
CommitDate: 2021-05-24 06:32:03 +0000
devel/hs-haskell-language-server: Override extract-cabal-deps.
The target provided by USES won't do for this port, because it uses Shake
to build the code.
---
devel/hs-haskell-language-server/Makefile | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/devel/hs-haskell-language-server/Makefile b/devel/hs-haskell-language-server/Makefile
index 037ddbddfdee..b6b6ca8fb3f8 100644
--- a/devel/hs-haskell-language-server/Makefile
+++ b/devel/hs-haskell-language-server/Makefile
@@ -230,13 +230,8 @@ do-install:
.endfor
${LN} -s ${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-8.10.4
-make-use-cabal-hls:
- ${RM} ${WRKSRC}/cabal.project
- ${CP} ${WRKSRC}/cabal.project.hls ${WRKSRC}/cabal.project
- ${RM} -rf ${CABAL_HOME}/.cabal
- ${SETENV} HOME=${CABAL_HOME} cabal new-update
+cabal-extract-deps:
cd ${WRKSRC} && \
${SETENV} HOME=${CABAL_HOME} hls-install hls
- ${MAKE} make-use-cabal
.include <bsd.port.mk>
More information about the dev-commits-ports-all
mailing list