Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

FL-692: fix gcc spec file installs

  • Loading branch information...
commit 55eae6f14cfcab7cf66df055ed2aee9dc0b50d40 1 parent 37b578e
Daniel Robbins danielrobbins authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 sys-devel/gcc/gcc-4.6.4.ebuild
7 sys-devel/gcc/gcc-4.6.4.ebuild
View
@@ -272,12 +272,19 @@ create_gcc_env_entry() {
dodir /etc/env.d/gcc
local gcc_envd_base="/etc/env.d/gcc/${CTARGET}-${GCC_CONFIG_VER}"
local gcc_envd_file="${D}${gcc_envd_base}"
+ if [ -z $1 ]; then
+ gcc_specs_file=""
+ else
+ gcc_envd_file="$gcc_envd_file-$1"
+ gcc_specs_file="${LIBPATH}/$1.specs"
+ fi
cat <<-EOF > ${gcc_envd_file}
GCC_PATH="${BINPATH}"
LDPATH="${LIBPATH}:${LIBPATH}/32"
MANPATH="${DATAPATH}/man"
INFOPATH="${DATAPATH}/info"
STDCXX_INCDIR="${STDCXX_INCDIR##*/}"
+ GCC_SPECS="${gcc_specs_file}"
EOF
}
Please sign in to comment.
Something went wrong with that request. Please try again.