From 76b7a783d7cc190de6ca4c7d7b2e96c584243604 Mon Sep 17 00:00:00 2001 From: arrowd Date: Sat, 28 Jul 2018 20:09:01 +0000 Subject: When deinstalling a Haskell package pass --no-user-package-db flag to ghc-pkg to avoid creation of ~/.ghc directory. Reported by: tcberner Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D16480 --- lang/ghc/bsd.cabal.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang/ghc') diff --git a/lang/ghc/bsd.cabal.mk b/lang/ghc/bsd.cabal.mk index fe34b743e6e1..99dfea707c4e 100644 --- a/lang/ghc/bsd.cabal.mk +++ b/lang/ghc/bsd.cabal.mk @@ -325,7 +325,7 @@ add-plist-post: add-plist-cabal add-plist-cabal: . if !defined(STANDALONE) - @${ECHO_CMD} '@postunexec ${LOCALBASE}/bin/ghc-pkg unregister --force ${PORTNAME}-${PORTVERSION}' >> ${TMPPLIST} + @${ECHO_CMD} '@postunexec ${LOCALBASE}/bin/ghc-pkg unregister --no-user-package-db --force ${PORTNAME}-${PORTVERSION}' >> ${TMPPLIST} . endif . if defined(HADDOCK_AVAILABLE) && ${PORT_OPTIONS:MDOCS} -- cgit