net-proxy/tsocks: Prefix support.
authorBenda Xu <heroxbd@gentoo.org>
Sat, 21 Jan 2017 08:46:38 +0000 (17:46 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Sat, 21 Jan 2017 08:46:51 +0000 (17:46 +0900)
Package-Manager: portage-2.3.3

net-proxy/tsocks/tsocks-1.8_beta5-r8.ebuild

index 859ee6fac0a685c2f356cc043af88b405344e15c..790825d8a657ac91bd1457b50cbc3924495a5d41 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -49,8 +49,8 @@ multilib_src_configure() {
                $(use_enable dns socksdns) \
                $(use_enable envconf) \
                $(use_enable server-lookups hostnames) \
-               --with-conf=/etc/socks/tsocks.conf \
-               --libdir=/$(get_libdir)
+               --with-conf="${EPREFIX}"/etc/socks/tsocks.conf \
+               --libdir="${EPREFIX}"/$(get_libdir)
 }
 
 multilib_src_compile() {