Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565162 - [PATCH] Prefixify net-misc/tor
Summary: [PATCH] Prefixify net-misc/tor
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-08 19:30 UTC by Konstantin Tokarev
Modified: 2015-11-09 19:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Tokarev 2015-11-08 19:30:37 UTC
This little patch fixes installation of tor in prefix (tested on ~ppc-macos) 


--- ./Gentoo/usr/local/portage/net-misc/tor/tor-0.2.7.4_rc.ebuild.old	2015-11-08 21:11:42.000000000 +0300
+++ ./Gentoo/usr/local/portage/net-misc/tor/tor-0.2.7.4_rc.ebuild	2015-11-08 22:28:58.000000000 +0300
@@ -16,7 +16,7 @@

 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
 IUSE="-bufferevents libressl scrypt seccomp selinux stats systemd tor-hardening transparent-proxy test web"

 DEPEND="
@@ -50,7 +50,7 @@
 	econf \
 		--enable-system-torrc \
 		--enable-asciidoc \
-		--docdir=/usr/share/doc/${PF} \
+		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
 		$(use_enable stats instrument-downloads) \
 		$(use_enable bufferevents) \
 		$(use_enable scrypt libscrypt) \