www-servers/uwsgi: fixed for Prefix and keyworded for ~amd64-linux
authorFabian Groffen <grobian@gentoo.org>
Mon, 26 Sep 2016 12:21:58 +0000 (14:21 +0200)
committerFabian Groffen <grobian@gentoo.org>
Mon, 26 Sep 2016 12:21:58 +0000 (14:21 +0200)
Package-Manager: portage-2.2.28

www-servers/uwsgi/uwsgi-2.0.13.1-r1.ebuild

index 13b6a5a42ff460549a962f92a4a3fc0d1bcb6436..bb1876c82d8e032b1edca7642c6e39a766517c06 100644 (file)
@@ -25,7 +25,7 @@ SRC_URI="https://github.com/unbit/uwsgi/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
 
 UWSGI_PLUGINS_STD=( ping cache carbon nagios rpc rrdtool
        http ugreen signal syslog rsyslog
@@ -206,7 +206,7 @@ src_configure() {
                -e "s|VAR_DEBUG|$(usex debug true false)|" \
                -e "s|VAR_MALLOC|${malloc_impl}|" \
                -e "s|VAR_PLUGINS|${plugins// /, }|" \
-               -e "s|VAR_PLUGIN_DIR|/usr/$(get_libdir)/uwsgi|" \
+               -e "s|VAR_PLUGIN_DIR|${EPREFIX}/usr/$(get_libdir)/uwsgi|" \
                -e "s|VAR_BUILD_DIR|${T}/plugins|" \
                -e "s|VAR_EMBEDDED|${embedded_plugins// /, }|" \
                buildconf/gentoo.ini || die "sed failed"