Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-alt
Applied, done, thanks.
On 24-04-2007 18:14:45 +0200, Michael Haubenwallner wrote:
> Hi,
>
> although the aixld-wrapper-script is not necessary any more for the
> libpath things, there are some minor issues with that
> native-cctools.ebuild.
>
> 1) using "powerpc-native-aix5.3.0.0-0" as binutils-config target breaks
> "binutils-config -B" fex:
> /EPREFIX/usr/bin/binutils-config: line 280: /EPREFIX/etc/env.d/binutils/powerpc-ibm-aix5.3.0.0-native-0: No such file or directory
> * powerpc-ibm-aix5.3.0.0-native-0 is invalid (no $TARGET defined) :(
>
> I don't see what "FCHOST=${CHOST/-*-/-native-}" is/was actually
> required for - i.e. why we want to indicate native binutils ...
>
> 2) a temporary file 'env.d' is in install-directory:
> EPREFIX/usr/powerpc-ibm-aix5.3.0.0/binutils-bin/native-0/env.d
> because of that { cd "${ED}${BINPATH}" } and the subsequent
> { cat > env.d << EOF }, that temporary 'env.d' is located in
> $ED$BINPATH.
>
> /haubi/
> Index: native-cctools-0.ebuild
> ===================================================================
> --- native-cctools-0.ebuild (revision 5607)
> +++ native-cctools-0.ebuild (working copy)
> @@ -54,18 +54,15 @@
>
> # Generate an env.d entry for this binutils
> insinto /etc/env.d/binutils
> - cat <<-EOF > env.d
> + cat <<-EOF > ${T}/env.d
> TARGET="${CHOST}"
> VER="native-${PV}"
> LIBPATH="${EPREFIX}/${LIBPATH}"
> FAKE_TARGETS="${CHOST}"
> EOF
> - # indicate we're dealing with a native (non-prefix) linker here, by
> - # replacing the machine (2nd) tuple in the CHOST by "native"
> - FCHOST=${CHOST/-*-/-native-}
> - newins env.d ${FCHOST}-${PV}
> + newins ${T}/env.d ${CHOST}-native-${PV}
> }
>
> pkg_postinst() {
> - binutils-config ${FCHOST}-${PV}
> + binutils-config ${CHOST}-native-${PV}
> }
--
Fabian Groffen
Gentoo on a different level
--
gentoo-alt@g.o mailing list
|
|