diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-07-12 15:57:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-07-12 15:57:04 +0100 |
commit | 4cf4bd71a639dbdfff8b9b9c8a9c8491fa7714ab (patch) | |
tree | 10fd9a3f941793c6b28f50b7856705cac92fd403 /sys-devel/gcc | |
parent | df63a25eedc6d55c1d5574b0ff44bf8e712e6ad3 (diff) |
use CHOST variable instead of our homebaked variable, fix profile setting...mark as stable
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/gcc-4.8.4.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sys-devel/gcc/gcc-4.8.4.ebuild b/sys-devel/gcc/gcc-4.8.4.ebuild index 9b3359b3..dabac427 100644 --- a/sys-devel/gcc/gcc-4.8.4.ebuild +++ b/sys-devel/gcc/gcc-4.8.4.ebuild @@ -49,9 +49,9 @@ src_prepare() { src_install() { toolchain_src_install # drop base gcc libraries, they're provided by sys-devel/base-gcc-${PV} - export local libdir="${D}usr/lib/gcc/$(uname -m)-pc-linux-gnu/${PV}" + export local libdir="${D}usr/lib/gcc/${CHOST}/${PV}" if use multilib ; then - export local multilibdir="${D}usr/lib/gcc/$(uname -m)-pc-linux-gnu/${PV}/32" + export local multilibdir="${D}usr/lib/gcc/${CHOST}/${PV}/32" fi # if we remove whole libdir, headers are gone, so remove only libs and their symlinks @@ -111,3 +111,11 @@ src_install() { export local envdir="${D}etc" rm -rf "$envdir" } + +pkg_preinst() { + : +} + +pkg_postinst() { + : +} |