diff options
-rw-r--r-- | net-misc/nx/nx-3.5.99.25.ebuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/net-misc/nx/nx-3.5.99.25.ebuild b/net-misc/nx/nx-3.5.99.25.ebuild index 2da4b0963c23..d3b7370a9078 100644 --- a/net-misc/nx/nx-3.5.99.25.ebuild +++ b/net-misc/nx/nx-3.5.99.25.ebuild @@ -113,8 +113,9 @@ src_compile() { emake -C nx-X11 BuildDependsOnly # Parallel make issue resurfaced, upstream working on autotools switch emake -j1 -C nx-X11 World \ - USRLIBDIR="/usr/$(get_libdir)/${PN}/X11" \ - SHLIBDIR="/usr/$(get_libdir)" + USRLIBDIR="${EPREFIX}/usr/$(get_libdir)/${PN}/X11" \ + SHLIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + ETCDIR_NX="${EPREFIX}/etc/nxagent" emake -C nxproxy } @@ -122,10 +123,11 @@ src_compile() { src_install() { emake \ DESTDIR="${D}" \ - PREFIX="/usr" \ - NXLIBDIR="/usr/$(get_libdir)/${PN}" \ - SHLIBDIR="/usr/$(get_libdir)" \ - USRLIBDIR="/usr/$(get_libdir)/${PN}/X11" \ + PREFIX="${EPREFIX}/usr" \ + NXLIBDIR="${EPREFIX}/usr/$(get_libdir)/${PN}" \ + SHLIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + USRLIBDIR="${EPREFIX}/usr/$(get_libdir)/${PN}/X11" \ + ETCDIR_NX="${EPREFIX}/etc/nxagent" \ install # Already provided by mesa & related packages |