public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Travis Tilley <lv@gentoo.org>
To: Jason Stubbs <jstubbs@gentoo.org>
Cc: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Cross Compilation and Dynamic Slots (ARCH_LIBDIR)
Date: Thu, 12 Aug 2004 08:42:50 -0400	[thread overview]
Message-ID: <411B65CA.1040808@gentoo.org> (raw)
In-Reply-To: <200408122212.10225.jstubbs@gentoo.org>

could we also get a LIBDIR into this spec? something where we could edit 
the profile to say:

[ "$ARCH" == "amd64" ] && ARCH_LIBDIR="lib64"
[ "$ARCH" == "x86" ] && ARCH_LIBDIR="lib"

or...

[ "$ARCH" == "mips-o32" ] && ARCH_LIBDIR="lib"
[ "$ARCH" == "mips-n32" ] && ARCH_LIBDIR="lib32"
[ "$ARCH" == "mips-n64" ] && ARCH_LIBDIR="lib64"

(only done in a way that makes more sense for a profile)

and then also have the following addition to econf:

[ "${ARCH_LIBDIR}" != "" ] && EXTRA_ECONF="--libdir=/usr/${ARCH_LIBDIR} 
${EXTRA_ECONF}"

that way, user and ebuild specified configuration will overwrite the 
default --libdir if specified, and the default behavior of not 
specifying --libdir isnt changed what this var isnt set. i would really 
appreciate if this edit found it's way into portage before 2.0.51, as it 
wont effect anything now and will help me to work on getting ebuilds 
lib64 aware locally (even without the multilib dependency changes).

also, with an ARCH_LIBDIR setting, we can fix any ebuild that doesnt use 
/usr/lib (like kde) by specifying --libdir=/usr/kde/3.3/${ARCH_LIBDIR} 
if ARCH_LIBDIR is set (and only if it's set)... all without changing the 
default behavior when it isnt.

my previous econf edit idea didnt allow for as much flexibility, and 
with this setup we get support for any arch that needs a specific libdir 
for free... like with mips needing lib, lib32, and lib64 depending on 
ABI. so the work i do getting amd64 multilib ready will also help mips 
get there too. it's a win/win/win/win situation :)


Travis Tilley <lv@gentoo.org>

--
gentoo-dev@gentoo.org mailing list


      reply	other threads:[~2004-08-12 16:04 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-31  4:09 [gentoo-dev] Dynamic SLOTs Jason Stubbs
2004-07-31  6:46 ` Mike Frysinger
2004-07-31  8:32   ` Jason Stubbs
2004-07-31 16:29     ` Mike Frysinger
2004-08-01  2:01       ` Jason Stubbs
2004-08-01 21:27         ` Martin Schlemmer
2004-08-03 23:34           ` Jason Stubbs
2004-08-03 23:57             ` Mike Frysinger
2004-08-04 14:28               ` Jason Stubbs
2004-08-04 20:11                 ` Aron Griffis
2004-08-04 23:47                   ` Jason Stubbs
2004-08-05  1:45                     ` Lina Pezzella
2004-08-05 13:57                       ` Jason Stubbs
2004-08-05  3:00                     ` Aron Griffis
2004-08-05 13:50                       ` Jason Stubbs
2004-08-05  8:59                   ` Ned Ludd
2004-08-06  3:10                 ` Mike Frysinger
2004-08-06 11:45                   ` Jason Stubbs
2004-08-09 23:35             ` Matthieu Sozeau
2004-08-10 12:21               ` Jason Stubbs
2004-08-10 12:53                 ` Matthieu Sozeau
2004-08-10 13:37                   ` Jason Stubbs
2004-08-06 11:56   ` Paul de Vrieze
2004-08-06 12:41     ` Jason Stubbs
2004-08-06 15:18       ` Paul de Vrieze
2004-08-06 17:28         ` Mike Frysinger
2004-08-06 23:57         ` Jason Stubbs
2004-08-07 10:42           ` Paul de Vrieze
2004-08-07 11:07           ` Chris Bainbridge
2004-08-07 11:25             ` Jason Stubbs
2004-08-10 14:55 ` Jason Stubbs
2004-08-11 14:21   ` [gentoo-dev] Cross Compilation and Dynamic Slots Jason Stubbs
2004-08-11 16:17     ` Ilya A. Volynets-Evenbakh
2004-08-12 13:12       ` Jason Stubbs
2004-08-12 12:42         ` Travis Tilley [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=411B65CA.1040808@gentoo.org \
    --to=lv@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=jstubbs@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox