summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-07-18 09:52:12 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-07-18 09:58:27 +0100
commit707f933c98950a47f589d97538fb43346e6cd796 (patch)
tree5f906996cc3e020762f2cab6803570514a060395 /dev-lang/ghc/ghc-8.10.4-r1.ebuild
parentdev-lang/ruby: cleanup vulnerable versions (diff)
downloadgentoo-707f933c98950a47f589d97538fb43346e6cd796.tar.gz
gentoo-707f933c98950a47f589d97538fb43346e6cd796.tar.bz2
gentoo-707f933c98950a47f589d97538fb43346e6cd796.zip
dev-lang/ghc: use /usr/share/doc/${PF}
Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/802699 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-lang/ghc/ghc-8.10.4-r1.ebuild')
-rw-r--r--dev-lang/ghc/ghc-8.10.4-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/ghc/ghc-8.10.4-r1.ebuild b/dev-lang/ghc/ghc-8.10.4-r1.ebuild
index 2e9a527ec4be..0e4472b1c7d4 100644
--- a/dev-lang/ghc/ghc-8.10.4-r1.ebuild
+++ b/dev-lang/ghc/ghc-8.10.4-r1.ebuild
@@ -527,8 +527,8 @@ src_configure() {
echo '# Gentoo changes' > mk/build.mk
# Put docs into the right place, ie /usr/share/doc/ghc-${GHC_PV}
- echo "docdir = ${EPREFIX}/usr/share/doc/$(cross)${P}" >> mk/build.mk
- echo "htmldir = ${EPREFIX}/usr/share/doc/$(cross)${P}" >> mk/build.mk
+ echo "docdir = ${EPREFIX}/usr/share/doc/$(cross)${PF}" >> mk/build.mk
+ echo "htmldir = ${EPREFIX}/usr/share/doc/$(cross)${PF}" >> mk/build.mk
# We also need to use the GHC_FLAGS flags when building ghc itself
echo "SRC_HC_OPTS+=${HCFLAGS} ${GHC_FLAGS}" >> mk/build.mk