Skip to content

Commit

Permalink
sys-devel/binutils-apple: remove cross-compile SLOT magic once copied…
Browse files Browse the repository at this point in the history
… from binutils/toolchain.eclass, bug #593392

Package-Manager: portage-2.2.28
  • Loading branch information
grobian committed Sep 10, 2016
1 parent b3b0bbd commit 8ac25df
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 60 deletions.
6 changes: 1 addition & 5 deletions sys-devel/binutils-apple/binutils-apple-4.3-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then
fi
is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }

if is_cross ; then
SLOT="${CTARGET}-4"
else
SLOT="4"
fi
SLOT="4"

LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV}
INCPATH=${LIBPATH}/include
Expand Down
6 changes: 1 addition & 5 deletions sys-devel/binutils-apple/binutils-apple-5.1-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,7 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then
fi
is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }

if is_cross ; then
SLOT="${CTARGET}-5"
else
SLOT="5"
fi
SLOT="5"

LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV}
INCPATH=${LIBPATH}/include
Expand Down
6 changes: 1 addition & 5 deletions sys-devel/binutils-apple/binutils-apple-6.1-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then
fi
is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }

if is_cross ; then
SLOT="${CTARGET}-6"
else
SLOT="6"
fi
SLOT="6"

LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV}
INCPATH=${LIBPATH}/include
Expand Down
6 changes: 1 addition & 5 deletions sys-devel/binutils-apple/binutils-apple-6.3-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then
fi
is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }

if is_cross ; then
SLOT="${CTARGET}-6"
else
SLOT="6"
fi
SLOT="6"

LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV}
INCPATH=${LIBPATH}/include
Expand Down
6 changes: 1 addition & 5 deletions sys-devel/binutils-apple/binutils-apple-7.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then
fi
is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }

if is_cross ; then
SLOT="${CTARGET}-7"
else
SLOT="7"
fi
SLOT="7"

LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV}
INCPATH=${LIBPATH}/include
Expand Down
6 changes: 1 addition & 5 deletions sys-devel/binutils-apple/binutils-apple-7.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,7 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then
fi
is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }

if is_cross ; then
SLOT="${CTARGET}-7"
else
SLOT="7"
fi
SLOT="7"

LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV}
INCPATH=${LIBPATH}/include
Expand Down
6 changes: 1 addition & 5 deletions sys-devel/binutils-apple/binutils-apple-7.1-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then
fi
is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }

if is_cross ; then
SLOT="${CTARGET}-7"
else
SLOT="7"
fi
SLOT="7"

LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV}
INCPATH=${LIBPATH}/include
Expand Down
6 changes: 1 addition & 5 deletions sys-devel/binutils-apple/binutils-apple-7.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,7 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then
fi
is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }

if is_cross ; then
SLOT="${CTARGET}-7"
else
SLOT="7"
fi
SLOT="7"

LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV}
INCPATH=${LIBPATH}/include
Expand Down
6 changes: 1 addition & 5 deletions sys-devel/binutils-apple/binutils-apple-7.2-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then
fi
is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }

if is_cross ; then
SLOT="${CTARGET}-7"
else
SLOT="7"
fi
SLOT="7"

LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV}
INCPATH=${LIBPATH}/include
Expand Down
6 changes: 1 addition & 5 deletions sys-devel/binutils-apple/binutils-apple-7.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,7 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then
fi
is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }

if is_cross ; then
SLOT="${CTARGET}-7"
else
SLOT="7"
fi
SLOT="7"

LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV}
INCPATH=${LIBPATH}/include
Expand Down
6 changes: 1 addition & 5 deletions sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,7 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then
fi
is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }

if is_cross ; then
SLOT="${CTARGET}-7"
else
SLOT="7"
fi
SLOT="7"

LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV}
INCPATH=${LIBPATH}/include
Expand Down
6 changes: 1 addition & 5 deletions sys-devel/binutils-apple/binutils-apple-7.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,7 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then
fi
is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }

if is_cross ; then
SLOT="${CTARGET}-7"
else
SLOT="7"
fi
SLOT="7"

LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV}
INCPATH=${LIBPATH}/include
Expand Down

0 comments on commit 8ac25df

Please sign in to comment.