From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JCGE6-0003WL-0H for garchives@archives.gentoo.org; Tue, 08 Jan 2008 15:18:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C693AE0BCD; Tue, 8 Jan 2008 15:18:23 +0000 (UTC) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by pigeon.gentoo.org (Postfix) with ESMTP id EBD70E0BCC for ; Tue, 8 Jan 2008 15:18:22 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e21so4050675fga.14 for ; Tue, 08 Jan 2008 07:18:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; bh=yoznuZ7+IpqG2A0dQ/Ypxjz4LLaxX0D34AYnLIoRRZM=; b=e1DqYh8DnAWsnJwPrhShh4d7YuONrw8K60ocyKD7rTI0Dsrf2MIEKXgXiAEWWvMg7bUxQzFIyGwXqmOohlVrrmtN3L+1S1Cj41SLc0r+W9DRa2QUZ3bpFikmkZfhABxwN9GZu8dcciXOo/F+rphRlJInXmnm5J9okjqDvihquWU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=h6Qgc+3wSPpzBMQ8b7hdj8jqiruNkdxstUIZ0JW6W0JGPqufHLS+PQujhoxG56D7mO8jADp2nrxLS9KY8i8QbkCfQ35YNNuL7qxjhAJHhHlSQvsXQ8aZI2BLHarmpwTzepNwRRUT22BS1nakj524Gobuz0hUJqRHLRXzQVYkgag= Received: by 10.86.25.17 with SMTP id 17mr21358683fgy.28.1199805501408; Tue, 08 Jan 2008 07:18:21 -0800 (PST) Received: from ilievnet.com ( [84.21.204.1]) by mx.google.com with ESMTPS id 31sm30210409fkt.14.2008.01.08.07.18.17 (version=SSLv3 cipher=OTHER); Tue, 08 Jan 2008 07:18:18 -0800 (PST) Date: Tue, 8 Jan 2008 17:18:15 +0200 From: Daniel Iliev To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] package.provided Message-ID: <20080108171815.456f6eca@ilievnet.com> In-Reply-To: <200801081511.09859.alan.mckinnon@gmail.com> References: <20080108143527.176caf14@ilievnet.com> <200801081511.09859.alan.mckinnon@gmail.com> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 9ed6f691-064a-4a96-8b84-f46bf21beee1 X-Archives-Hash: 63399cf4ab9683307bcb7c21ff3971a2 On Tue, 8 Jan 2008 15:11:09 +0200 Alan McKinnon wrote: > > A much better way would be to modify the ebuild to do what you want, > then copy it to a local overlay. Portage will use your overlay in > preference to the portage tree. You just have to then watch out for > newer versions to hit the tree which will supercede your custom > ebuild, and modify those new versions similarly. Yes, may be it's time for me to learn how to write an ebuild. My problem is that it seems to me too much work just to maintain a few occasional packages locally. ;-) > There's an environment variable EXTRA_ECONF intended for *users* to > add extra configure options when emerging, but I have heard bad > things about using this. Don't know the details, perhaps someone else > who does will post in response. Yes, I'm aware of EXTRA_ECONF and I use it via /etc/portage/bashrc. ( explained w/ example by Mr. Bo Andresen: http://tinyurl.com/39c74x ) It never caused problems here. I want to change the "./configure --params" for sure but perhaps I'd need to alter several source files. I'm not sure if /etc/portage/bashrc could do the work in the latter case but it's an idea that never occurred to me before and I'm going to explore. > > Finally, you could just mask out mplayer entirely and build it from > source using the default DESTDIR of /usr/local. It's not a complete > unistall solution, but at least it doesn't collide with portage's > installs in /usr/ > Why mask? If I install it manually there would be no need for "emerge mplayer" at all, right? ;-) (additionally "/usr/local/(s)bin" precedes "/usr/(s)bin" in $PATH by default) Anyways, this is not an option for me because I hate cleaning forgotten files or keeping the src for eventual "make uninstall". I'd prefer compiling the program with PREFIX="$HOME/program_name". So, for the time being I'll try to solve the problem via "/etc/portage/bashrc", while waiting for more possible advices. -- Best regards, Daniel -- gentoo-user@lists.gentoo.org mailing list