public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/nx/
Date: Wed, 20 Jan 2021 07:42:43 +0000 (UTC)	[thread overview]
Message-ID: <1611128560.80f508cf33b67c0443d35679e0953e7007dda66f.grobian@gentoo> (raw)

commit:     80f508cf33b67c0443d35679e0953e7007dda66f
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 20 07:41:57 2021 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Jan 20 07:42:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80f508cf

net-misc/nx: fix install for Prefix, by Firas, bug #682864

Closes: https://bugs.gentoo.org/682864
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 net-misc/nx/nx-3.5.99.25.ebuild | 14 ++++++++------
 1 file 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 2da4b0963c2..d3b7370a907 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


             reply	other threads:[~2021-01-20  7:42 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20  7:42 Fabian Groffen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-09 21:47 [gentoo-commits] repo/gentoo:master commit in: net-misc/nx/ Bernard Cafarelli
2025-03-08 14:51 Jakov Smolić
2025-03-08 14:34 Jakov Smolić
2024-05-05 11:49 Sam James
2023-06-28  7:37 Sam James
2023-03-31 20:33 Bernard Cafarelli
2023-03-31 20:33 Bernard Cafarelli
2023-03-19  0:16 Bernard Cafarelli
2022-11-05  7:36 Yixun Lan
2022-10-28  7:17 Sam James
2022-10-28  7:17 Sam James
2022-01-03 23:26 David Seifert
2021-10-24  1:09 Sam James
2021-09-23 13:58 Agostino Sarubbo
2021-09-22  6:58 Agostino Sarubbo
2021-02-07 23:23 Bernard Cafarelli
2021-01-07  7:59 Bernard Cafarelli
2020-11-08 15:30 Bernard Cafarelli
2020-06-16 20:11 Bernard Cafarelli
2020-05-04 21:23 Bernard Cafarelli
2020-02-02 11:18 Bernard Cafarelli
2019-12-22 14:50 Bernard Cafarelli
2019-05-17 14:37 Bernard Cafarelli
2018-11-29 12:45 Bernard Cafarelli
2018-10-27 19:04 Mikle Kolyada
2018-10-26  0:52 Thomas Deutschmann
2018-04-04 11:25 Lars Wendler
2018-04-04 11:25 Lars Wendler
2018-03-18 20:41 Lars Wendler
2018-03-17 11:08 Bernard Cafarelli
2018-03-12 12:03 Lars Wendler
2018-03-08 10:14 Lars Wendler
2018-03-08  9:53 Bernard Cafarelli
2018-03-06 14:39 Lars Wendler
2018-02-21 18:48 Jason Zaman
2017-11-08 12:58 Bernard Cafarelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1611128560.80f508cf33b67c0443d35679e0953e7007dda66f.grobian@gentoo \
    --to=grobian@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox