summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-11 00:26:53 +0000
committerSam James <sam@gentoo.org>2021-06-11 00:29:14 +0000
commitbbaa144be1ae371f080bd71813b288fa3f1ff51b (patch)
tree4d8ccf03af03946871b08f3a52d7bd4dd5403f6e /sci-biology
parentsci-electronics/eagle: fix VariableScope (ROOT) (diff)
downloadgentoo-bbaa144be1ae371f080bd71813b288fa3f1ff51b.tar.gz
gentoo-bbaa144be1ae371f080bd71813b288fa3f1ff51b.tar.bz2
gentoo-bbaa144be1ae371f080bd71813b288fa3f1ff51b.zip
sci-biology/ucsc-genome-browser: fix VariableScope ((E)ROOT)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/ucsc-genome-browser/ucsc-genome-browser-260-r1.ebuild10
1 files 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 0423f509cec9..f0bb0676ae85 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