summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-03-01 10:14:00 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-03-01 11:06:53 +0100
commitca104ab4585b605d45771e77643a9e1c9a5f2117 (patch)
tree1ce57eb79ee4eb5822a2a785914df49f9cae56df /sys-freebsd
parentsys-freebsd/freebsd-lib: discriminate GNU userland based on CBUILD:-CHOST whi... (diff)
downloadgentoo-ca104ab4585b605d45771e77643a9e1c9a5f2117.tar.gz
gentoo-ca104ab4585b605d45771e77643a9e1c9a5f2117.tar.bz2
gentoo-ca104ab4585b605d45771e77643a9e1c9a5f2117.zip
sys-freebsd/freebsd-lib: make sys symlink SYSROOT relative
Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'sys-freebsd')
-rw-r--r--sys-freebsd/freebsd-lib/freebsd-lib-10.2-r2.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-10.2-r2.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-10.2-r2.ebuild
index 23f5e859fbe..a498d6658a5 100644
--- a/sys-freebsd/freebsd-lib/freebsd-lib-10.2-r2.ebuild
+++ b/sys-freebsd/freebsd-lib/freebsd-lib-10.2-r2.ebuild
@@ -197,7 +197,7 @@ src_prepare() {
if ! is_crosscompile ; then
if [[ ! -e "${WORKDIR}/sys" ]]; then
- ln -s "/usr/src/sys" "${WORKDIR}/sys" || die "Couldn't make sys symlink!"
+ ln -s "${SYSROOT}/usr/src/sys" "${WORKDIR}/sys" || die "Couldn't make sys symlink!"
fi
else
sed -i.bak -e "s:/usr/include:/usr/${CTARGET}/usr/include:g" \