Date: Sat, 28 Jul 2018 20:09:01 +0000 (UTC) From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475610 - head/lang/ghc Message-ID: <201807282009.w6SK917o021895@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: arrowd Date: Sat Jul 28 20:09:01 2018 New Revision: 475610 URL: https://svnweb.freebsd.org/changeset/ports/475610 Log: 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 Modified: head/lang/ghc/bsd.cabal.mk Modified: head/lang/ghc/bsd.cabal.mk ============================================================================== --- head/lang/ghc/bsd.cabal.mk Sat Jul 28 20:07:53 2018 (r475609) +++ head/lang/ghc/bsd.cabal.mk Sat Jul 28 20:09:01 2018 (r475610) @@ -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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807282009.w6SK917o021895>