From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1EnLQX-0001Ac-0S for garchives@archives.gentoo.org; Fri, 16 Dec 2005 19:39:37 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBGJdEnl014147; Fri, 16 Dec 2005 19:39:14 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBGJdCHO028143 for ; Fri, 16 Dec 2005 19:39:13 GMT Received: by wproxy.gmail.com with SMTP id i12so956156wra for ; Fri, 16 Dec 2005 11:39:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=T9nD5pIhkbffTV5ZuMsAICB+xI75KP/dwgkmCjCtG2uK5mK5TeQQpFYZZFSrltlEmsJWYxKdWbcpprS2LZ4Xx2YZ/5ywFvGe3RQLVk+QXjyUYUppP0SeI/vPTmAxGHgRjxdgaIJctClDvPhpiGQZ2SY0YN7epzy1/4gzGLynxNQ= Received: by 10.54.62.16 with SMTP id k16mr3804811wra; Fri, 16 Dec 2005 11:39:12 -0800 (PST) Received: by 10.54.134.4 with HTTP; Fri, 16 Dec 2005 11:39:11 -0800 (PST) Message-ID: Date: Fri, 16 Dec 2005 11:39:11 -0800 From: m h To: gentoo-osx@lists.gentoo.org Subject: Re: [gentoo-osx] Re: Attempt to use prefix on linux as secondary... In-Reply-To: <20051216122010.GG30053@nightcrawler.e-centre.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-osx@gentoo.org Reply-to: gentoo-osx@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <1134637115.30023.36.camel@sapc154> <20051216122010.GG30053@nightcrawler.e-centre.net> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id jBGJdCHO028143 X-Archives-Salt: 7bc5993c-6e31-46be-99ed-35ad862f8860 X-Archives-Hash: e675bf8f1640e0334336dccc12272de4 On 12/16/05, Brian Harring wrote: > On Thu, Dec 15, 2005 at 04:35:36PM -0800, m h wrote: > > Got around (hacked around) python issue (I have no portage user > > currently, only the group). So in portage_data.py, I override > > portage_uid to my userid > > portage_uid=os.getuid() > > and I'm rolling again. > ./configure --help | less # instead > there's configurable's for defining uid/gid. Down the line (repeating > myself), if this is mainlined, proper implementation will be created > where config can define/adjust uid/gid's to use instead of current > hardcoding at install time. > ~harring > it looks like Haubi's toolbox is doing the right thing here (setting the right configure flags): src_build() { echo "ENV:" env echo "MATT" configureflags= case "${PLATFORM}" in SunOS) XCU_ID=/usr/xpg4/bin/id ;; *) XCU_ID=/usr/bin/id ;; esac if [ -x "${DESTDIR}/bin/bash" ] then CU_BASH="${DESTDIR}/bin/bash" export CU_BASH fi configureflags="${configureflags} --with-offset-prefix=${DESTROOT}" configureflags="${configureflags} --prefix=${DESTROOT}/usr" configureflags="${configureflags} --with-user=`${XCU_ID} -un`" configureflags="${configureflags} --with-rootuser=`${XCU_ID} -un`" configureflags="${configureflags} --with-group=`${XCU_ID} -gn`" configureflags="${configureflags} --with-wheelgroup=`${XCU_ID} -gn`" gnu_build || die } Even if these are set, there is some hardcoded values in portage.... No biggie. Just need to edit them... > > -- gentoo-osx@gentoo.org mailing list