From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=DMARC_MISSING, MAILING_LIST_MULTI,RDNS_NONE autolearn=no autolearn_force=no version=4.0.0 Received: from box1.cyxs.net (unknown [208.155.66.115]) by chiba.3jane.net (Postfix) with SMTP id 8C1EA2015DC0 for ; Wed, 20 Feb 2002 10:17:19 -0600 (CST) Received: (qmail 24618 invoked from network); 20 Feb 2002 16:12:23 -0000 Received: from unknown (HELO localhost) (208.155.66.115) by 0 with SMTP; 20 Feb 2002 16:12:23 -0000 From: Richard Reich To: gentoo-dev@gentoo.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 20 Feb 2002 11:13:07 -0500 Message-Id: <1014221594.28230.7.camel@loki.rdrtech.net> Mime-Version: 1.0 Subject: [gentoo-dev] emerge to unconventional directories... Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: c1988624-3467-4347-b5ec-ac2ad247e217 X-Archives-Hash: c5014dc52135e5a9ee67a5c30c901e7b I'm working on a project that needs gcc 3.0.3, basicaly some areas of the stl that are more mature... Anyway I was wondering what is needed to modify an ebuild file to install to a different directory or is it even possible? Thanks for your help Richard Reich Here is a "sniped" versin of the ebuild file for gcc 3.0.3 Within are my questions... LOC=/usr <--- do I need to change this to something like /opt/gcc-3.0.3? I assume yes src_install() { #make install from the build directory cd ${WORKDIR}/build make install prefix=${D}${LOC} mandir=${D}${LOC}/share/man infodir=${D}${LOC}/share/info || die [ -e ${D}/usr/bin/gcc ] || die "gcc not found in ${D}" FULLPATH=${D}${LOC}/lib/gcc-lib/${CHOST}/${PV} cd ${FULLPATH} dodir /lib dosym /usr/bin/cpp /lib/cpp <--- I'm not exactaly sure what to do with these do*** "things", do I leave them alone? dosym gcc /usr/bin/cc dodir /etc/env.d echo "LDPATH=${LOC}/lib/gcc-lib/${CHOST}/${PV}" > ${D}/etc/env.d/05gcc <--- do I need to do something with this? cd ${S} if [ -z "`use build`" ] then #do a full texinfo-${TV} install