diff options
author | Gleb Popov <arrowd@FreeBSD.org> | 2018-07-28 20:09:01 +0000 |
---|---|---|
committer | Gleb Popov <arrowd@FreeBSD.org> | 2018-07-28 20:09:01 +0000 |
commit | 468cd131bdec404cd21f3628640342a21b4419b9 (patch) | |
tree | f7aa39c471f0aa7f3dfe289a4a3516746804c173 /lang/ghc/bsd.cabal.mk | |
parent | 011fb0189bb34604fc6483f7bc3e273b83b65714 (diff) | |
download | ports-468cd131bdec404cd21f3628640342a21b4419b9.tar.gz ports-468cd131bdec404cd21f3628640342a21b4419b9.zip |
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
Notes
Notes:
svn path=/head/; revision=475610
Diffstat (limited to 'lang/ghc/bsd.cabal.mk')
-rw-r--r-- | lang/ghc/bsd.cabal.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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} |