public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/ucsc-genome-browser/
Date: Fri, 11 Jun 2021 00:29:23 +0000 (UTC)	[thread overview]
Message-ID: <1623371354.bbaa144be1ae371f080bd71813b288fa3f1ff51b.sam@gentoo> (raw)

commit:     bbaa144be1ae371f080bd71813b288fa3f1ff51b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 11 00:26:53 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 11 00:29:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbaa144b

sci-biology/ucsc-genome-browser: fix VariableScope ((E)ROOT)

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../ucsc-genome-browser/ucsc-genome-browser-260-r1.ebuild      | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/sci-biology/ucsc-genome-browser/ucsc-genome-browser-260-r1.ebuild b/sci-biology/ucsc-genome-browser/ucsc-genome-browser-260-r1.ebuild
index 0423f509cec..f0bb0676ae8 100644
--- a/sci-biology/ucsc-genome-browser/ucsc-genome-browser-260-r1.ebuild
+++ b/sci-biology/ucsc-genome-browser/ucsc-genome-browser-260-r1.ebuild
@@ -64,14 +64,16 @@ src_compile() {
 
 	export MYSQLLIBS="none" MYSQLINC="none" DOCUMENTROOT="none" CGI_BIN="none"
 
-	use mysql && export MYSQLLIBS="-L${EROOT}usr/$(get_libdir)/mysql/ -lmysqlclient -lz -lssl" \
-		MYSQLINC="${ROOT}usr/include/mysql"
+	# TODO: Change ${EPREFIX} to ${ESYSROOT} in EAPI 7
+	# (and ideally use pkg-config here)
+	use mysql && export MYSQLLIBS="-L${EPREFIX%/}/usr/$(get_libdir)/mysql/ -lmysqlclient -lz -lssl" \
+		MYSQLINC="${EPREFIX%/}/usr/include/mysql"
 
 	use server && export DOCUMENTROOT="${WORKDIR}/destdir/${MY_HTDOCSDIR}" \
 		CGI_BIN="${WORKDIR}/destdir/${MY_HTDOCSDIR}/cgi-bin"
 
-	mkdir -p "$BINDIR" "$SCRIPTS" "$ENCODE_PIPELINE_BIN" || die
-	use server && mkdir -p "$CGI_BIN" "$DOCUMENTROOT"
+	mkdir -p "${BINDIR}" "${SCRIPTS}" "${ENCODE_PIPELINE_BIN}" || die
+	use server && mkdir -p "${CGI_BIN}" "${DOCUMENTROOT}"
 
 	emake -C src clean
 	emake -C src/lib


             reply	other threads:[~2021-06-11  0:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-11  0:29 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-01 23:21 [gentoo-commits] repo/gentoo:master commit in: sci-biology/ucsc-genome-browser/ Sam James
2024-06-01 23:21 Sam James
2024-06-01 23:21 Sam James
2024-06-01 23:21 Sam James
2021-03-03 21:19 Sam James
2019-02-15 21:09 Brian Evans

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=1623371354.bbaa144be1ae371f080bd71813b288fa3f1ff51b.sam@gentoo \
    --to=sam@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